Skip to content

Commit dd0829a

Browse files
committed
Add cache-disabled example to demo workflow
1 parent fd60153 commit dd0829a

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/demo-job-summary.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,20 @@ jobs:
114114
- name: Build kotlin-dsl project
115115
working-directory: .github/workflow-samples/kotlin-dsl
116116
run: ./gradlew assemble
117+
118+
cache-disabled:
119+
needs: build-distribution
120+
runs-on: ubuntu-latest
121+
steps:
122+
- name: Checkout sources
123+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
124+
- name: Initialize integ-test
125+
uses: ./.github/actions/init-integ-test
126+
127+
- name: Setup Gradle
128+
uses: ./setup-gradle
129+
with:
130+
cache-disabled: true
131+
- name: Build kotlin-dsl project
132+
working-directory: .github/workflow-samples/kotlin-dsl
133+
run: ./gradlew assemble

0 commit comments

Comments
 (0)