Skip to content

Commit

Permalink
Merge pull request #1 from lekcyjna123/lekcyjna123/jumidelux-patch-cache
Browse files Browse the repository at this point in the history
Add need dependency.
  • Loading branch information
JumiDeluxe authored Nov 3, 2023
2 parents 8061367 + 44a50f9 commit e7fbf50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
name: Build regression tests
runs-on: ubuntu-latest
container: ghcr.io/kuznia-rdzeni/riscv-toolchain:2023.10.08_v
outputs:
container_id: ${{ job.container.id }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -33,7 +35,6 @@ jobs:
job.container.id }}-${{ hashFiles('**/test/external/riscv-tests') }}
restore-keys: |
${{ env.cache-name }}-${{ runner.os }}-${{ job.container.id }}-
${{ env.cache-name }}-${{ runner.os }}-
- if: ${{ steps.cache-regression.outputs.cache-hit != 'true' }}
name: Build riscv-tests
Expand Down Expand Up @@ -75,10 +76,9 @@ jobs:
submodules: recursive
path: test/external/riscv-tests/test-*
key: ${{ env.cache-name }}-${{ runner.os }}-${{
job.container.id }}-${{ hashFiles('**/test/external/riscv-tests') }}
needs.build-regression-tests.outputs.container_id }}-${{ hashFiles('**/test/external/riscv-tests') }}
restore-keys: |
${{ env.cache-name }}-${{ runner.os }}-${{ job.container.id }}-
${{ env.cache-name }}-${{ runner.os }}-
${{ env.cache-name }}-${{ runner.os }}-${{ needs.build-regression-tests.outputs.container_id }}-
- name: Run tests
run: |
Expand Down

0 comments on commit e7fbf50

Please sign in to comment.