|
56 | 56 | env: |
57 | 57 | # publishToMavenLocal causes a GH API requests, use the token for those requests |
58 | 58 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 59 | + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} |
59 | 60 | run: | |
60 | 61 | ./gradlew check sourceTarball distTar distZip publishToMavenLocal \ |
61 | 62 | -x :polaris-runtime-service:test \ |
|
94 | 95 | - name: Prepare Gradle build cache |
95 | 96 | uses: ./.github/actions/ci-incr-build-cache-prepare |
96 | 97 | - name: Run Quarkus tests |
| 98 | + env: |
| 99 | + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} |
97 | 100 | run: | |
98 | 101 | ./gradlew \ |
99 | 102 | :polaris-runtime-service:test \ |
@@ -133,6 +136,8 @@ jobs: |
133 | 136 | uses: ./.github/actions/ci-incr-build-cache-prepare |
134 | 137 | - name: Run integration tests |
135 | 138 | run: ./gradlew intTest --continue |
| 139 | + env: |
| 140 | + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} |
136 | 141 | - name: Save partial Gradle build cache |
137 | 142 | uses: ./.github/actions/ci-incr-build-cache-save |
138 | 143 | if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
@@ -172,5 +177,8 @@ jobs: |
172 | 177 | with: |
173 | 178 | cache-read-only: false |
174 | 179 | - name: Trigger Gradle home cleanup |
| 180 | + env: |
| 181 | + DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }} |
175 | 182 | run: ./gradlew --no-daemon :showVersion |
| 183 | + |
176 | 184 | # Note: the "Post Gradle invocation" archives the updated build cache. |
0 commit comments