Workflow fixes (#856)

* Fix cache key for cleanup check in workflow
* Rename job for custom report submission in workflow
This commit is contained in:
Daz DeBoer
2026-02-12 10:37:44 -07:00
committed by GitHub
parent aa108b0a12
commit 78f7dee633
2 changed files with 3 additions and 2 deletions

View File

@@ -70,9 +70,10 @@ jobs:
working-directory: sources/test/jest/resources/cache-cleanup working-directory: sources/test/jest/resources/cache-cleanup
run: ./gradlew --no-daemon --build-cache -Dcommons_math3_version="3.1.1" build run: ./gradlew --no-daemon --build-cache -Dcommons_math3_version="3.1.1" build
# Third build will restore cache entry from second, and verify stale content removed
cache-cleanup-check-clean-cache: cache-cleanup-check-clean-cache:
env: env:
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_2 GRADLE_BUILD_ACTION_CACHE_KEY_JOB_EXECUTION: ${{github.sha}}_1
needs: cache-cleanup-assemble-build needs: cache-cleanup-assemble-build
strategy: strategy:
max-parallel: 1 max-parallel: 1

View File

@@ -394,7 +394,7 @@ jobs:
dependency-graph-report-dir: '${{ github.workspace }}/custom/report-dir' dependency-graph-report-dir: '${{ github.workspace }}/custom/report-dir'
build-root-directory: .github/workflow-samples/groovy-dsl build-root-directory: .github/workflow-samples/groovy-dsl
custom-report-dir-download-and-submit: dependency-submission-custom-report-dir-download-and-submit:
permissions: permissions:
contents: write contents: write
needs: [dependency-submission-custom-report-dir-upload] needs: [dependency-submission-custom-report-dir-upload]