Skip to content

Commit

Permalink
test cache
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Aug 19, 2024
1 parent dab2ee5 commit 8acc772
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,27 @@ jobs:
echo "login ${{ secrets.NEXUS_USERNAME }}" >> ~/.netrc
echo "password ${{ secrets.NEXUS_PASSWORD }}" >> ~/.netrc
- name: Restore packages artifacts
uses: actions/cache/restore@v4
id: artifacts-cache
with:
key: ${{ runner.os }}-packages-${{ hashFiles('**/artifacts.json') }}
path: |
**/*.jar
**/*.zip
- name: Fetch artifacts from nexus
run: ./scripts/fetch-artifact.sh

- name: Save packages artifacts
id: cache-primes-save
uses: actions/cache/save@v4
with:
path: |
**/*.jar
**/*.zip
key: ${{ steps.artifacts-cache.outputs.cache-primary-key }}

- name: Set up QEMU
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0

Expand Down

0 comments on commit 8acc772

Please sign in to comment.