ci: don't compress using UPX for PRs

This commit is contained in:
Kévin Dunglas
2024-10-26 11:52:01 +02:00
parent afedeb9d58
commit f567318e19
3 changed files with 5 additions and 2 deletions

View File

@@ -162,6 +162,7 @@ jobs:
runner-${{ matrix.variant }}
# Remove tags to prevent "can't push tagged ref [...] by digest" error
set: |
${{ (github.event_name == 'pull_request') && '*.args.NO_COMPRESS=1' || '' }}
*.tags=
*.platform=${{ matrix.platform }}
builder-${{ matrix.variant }}.cache-from=type=gha,scope=builder-${{ matrix.variant }}-${{ needs.prepare.outputs.ref || github.ref }}-${{ matrix.platform }}