Compare commits

...

2 commits

Author SHA1 Message Date
tooomm
b78ebb6836
Update desktop-build.yml 2026-08-24 22:03:57 +02:00
tooomm
9d7ba463bf
Save cache only from master 2026-08-24 20:02:17 +02:00
2 changed files with 1 additions and 2 deletions

View file

@ -426,7 +426,6 @@ jobs:
uses: TAServers/vcpkg-cache@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
prefix: vcpkg-
# Uses environment variables, see compile.sh for more details
- name: "Build Cockatrice"

View file

@ -76,7 +76,7 @@ jobs:
uses: docker/build-push-action@v7
with:
cache-from: type=gha,scope=${{ env.CACHE_SCOPE }}
cache-to: type=gha,mode=max,scope=${{ env.CACHE_SCOPE }}
cache-to: ${{ case(github.ref == 'refs/heads/master', format('type=gha,mode=max,scope={0}', env.CACHE_SCOPE), '') }}
context: .
platforms: ${{ matrix.platform }}
push: false