mirror of
https://github.com/gradle/actions.git
synced 2026-03-02 17:49:49 +08:00
Workflow fixes (#856)
* Fix cache key for cleanup check in workflow * Rename job for custom report submission in workflow
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user