mirror of
https://github.com/gradle/actions.git
synced 2025-04-20 09:49:19 +08:00
Add example of job summary with cache-read-only
This commit is contained in:
parent
6da85a08fb
commit
9291ac6ca5
17
.github/workflows/demo-job-summary.yml
vendored
17
.github/workflows/demo-job-summary.yml
vendored
@ -94,3 +94,20 @@ jobs:
|
||||
- name: Run build
|
||||
working-directory: .github/workflow-samples/groovy-dsl
|
||||
run: ./gradlew assemble
|
||||
|
||||
cache-read-only:
|
||||
needs: build-distribution
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
- name: Initialize integ-test
|
||||
uses: ./.github/actions/init-integ-test
|
||||
|
||||
- name: Setup Gradle
|
||||
uses: ./setup-gradle
|
||||
with:
|
||||
cache-read-only: true
|
||||
- name: Build kotlin-dsl project
|
||||
working-directory: .github/workflow-samples/kotlin-dsl
|
||||
run: ./gradlew assemble
|
||||
|
Loading…
x
Reference in New Issue
Block a user