diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6431c057..ecb037ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,10 +39,6 @@ jobs: run: | set -Eeuo pipefail docker run --rm --mount type=bind,src="$(pwd)/test",dst=/ws -w /ws ${{ github.repository }}:test bats --formatter junit testsuite.bats | tee test-report.xml - - uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 - with: - path: test/.xwin-cache - key: xwin-cache - uses: EnricoMi/publish-unit-test-result-action@ca89ad036b5fcd524c1017287fb01b5139908408 # v2.11.0 if: always() with: diff --git a/.github/workflows/prime-cache.yml b/.github/workflows/prime-cache.yml index 23ddfecd..d4135744 100644 --- a/.github/workflows/prime-cache.yml +++ b/.github/workflows/prime-cache.yml @@ -24,3 +24,14 @@ jobs: platforms: linux/amd64,linux/arm64 cache-from: type=gha cache-to: type=gha,mode=max + prime-xwin-cache: + runs-on: ubuntu-latest + steps: + - run: | + set -Eeuo pipefail + mkdir test + docker run --rm --mount type=bind,src="$(pwd)/test",dst=/ws -w /ws ghcr.io/${{ github.repository }}:latest xwin --accept-license splat --preserve-ms-arch-notation + - uses: actions/cache/save@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 + with: + path: test/.xwin-cache + key: xwin-cache