Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jbachorik authored Dec 1, 2024
1 parent 483475a commit 73a3eda
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Generate cache key
id: cache-key
run: echo "key=${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}" >> $GITHUB_ENV
- name: Export cache key as output
id: export-key
run: echo "::set-output name=cache-key::${{ env.key }}"
- name: Cache Gradle
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -67,6 +70,8 @@ jobs:
name: test-reports
path: |
**/reports/**/*
outputs:
cache-key: ${{ steps.export-key.outputs.cache-key }}

test:
needs: build
Expand Down Expand Up @@ -95,18 +100,13 @@ jobs:
echo 'n' | sdk install java ${{ matrix.java }}
which java
echo 'y' | sdk install java 11.0.25-tem
- name: Use cache key from build job
run: |
echo "Cache key: ${{ needs.build.outputs.cache-key }}"
env:
CACHE_KEY: ${{ needs.build.outputs.cache-key }}
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches/modules-2
~/.gradle/wrapper
key: ${CACHE_KEY}
key: ${{ needs.build.outputs.cache-key }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Download build data
Expand Down Expand Up @@ -158,18 +158,13 @@ jobs:
with:
java-version: 11
distribution: temurin
- name: Use cache key from build job
run: |
echo "Cache key: ${{ needs.build.outputs.cache-key }}"
env:
CACHE_KEY: ${{ needs.build.outputs.cache-key }}
- name: Cache Gradle
uses: actions/cache@v3
with:
path: |
~/.gradle/caches/modules-2
~/.gradle/wrapper
key: ${CACHE_KEY}
key: ${{ needs.build.outputs.cache-key }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Download build data
Expand Down

0 comments on commit 73a3eda

Please sign in to comment.