Update workflows for move to 'sources'

This commit is contained in:
daz 2024-01-25 11:24:35 -07:00
parent 5e522253a6
commit 22e5c984e7
No known key found for this signature in database
8 changed files with 13 additions and 7 deletions

View File

@ -13,6 +13,7 @@ runs:
node -v
npm install
npm run build
working-directory: sources
- name: Upload distribution
uses: actions/upload-artifact@v4
with:

View File

@ -64,7 +64,7 @@ updates:
schedule:
interval: "daily"
- package-ecosystem: "gradle"
directory: "test/init-scripts"
directory: "sources/test/init-scripts"
registries:
- gradle-plugin-portal
schedule:

View File

@ -33,7 +33,7 @@ jobs:
languages: ${{ matrix.language }}
config: |
paths:
- src
- sources/src
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

View File

@ -4,8 +4,8 @@ on:
push:
paths:
- '.github/workflows/ci-init-script-check.yml'
- 'src/resources/init-scripts/**'
- 'test/init-scripts/**'
- 'sources/src/resources/init-scripts/**'
- 'sources/test/init-scripts/**'
workflow_dispatch:
jobs:
@ -22,5 +22,5 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.12.0 # Use a released version to avoid breakages
- name: Run integration tests
working-directory: test/init-scripts
working-directory: sources/test/init-scripts
run: ./gradlew check

View File

@ -29,6 +29,7 @@ jobs:
run: |
npm install
npm run all
working-directory: sources
action-inputs:
needs: build-distribution

View File

@ -26,6 +26,7 @@ jobs:
node -v
npm install
npm run build
working-directory: sources
- name: Compare the expected and actual dist/ directories
run: |

View File

@ -18,6 +18,7 @@ jobs:
run: |
npm install
npm run build
working-directory: sources
- name: Setup Gradle
uses: ./
- name: Build kotlin-dsl project
@ -52,6 +53,7 @@ jobs:
run: |
npm install
npm run build
working-directory: sources
- name: Setup Gradle
uses: ./
with:
@ -73,6 +75,7 @@ jobs:
run: |
npm install
npm run build
working-directory: sources
- name: Pre-create Gradle User Home
shell: bash
run: |

View File

@ -33,7 +33,7 @@ jobs:
with:
cache-read-only: false # For testing, allow writing cache entries on non-default branches
- name: Build with 3.1
working-directory: test/jest/resources/cache-cleanup
working-directory: sources/test/jest/resources/cache-cleanup
run: gradle --no-daemon --build-cache -Dcommons_math3_version="3.1" build
# Second build will use the cache from the first build, but cleanup should remove unused artifacts
@ -54,7 +54,7 @@ jobs:
cache-read-only: false
gradle-home-cache-cleanup: true
- name: Build with 3.1.1
working-directory: test/jest/resources/cache-cleanup
working-directory: sources/test/jest/resources/cache-cleanup
run: gradle --no-daemon --build-cache -Dcommons_math3_version="3.1.1" build
check-clean-cache: