diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6f8b005b..efaf37bb 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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