gh-14651: Start uploading windows binaries into release tags (gh-14698)

This commit is contained in:
mr. m
2026-07-24 14:06:43 +02:00
committed by mr. m
parent 0af54cad95
commit 797ff70b25
2 changed files with 46 additions and 20 deletions

View File

@@ -500,10 +500,16 @@ jobs:
path: updates-server
token: ${{ secrets.DEPLOY_KEY }}
- name: Download object files
- name: Download signed windows objects
if: ${{ inputs.update_branch == 'release' }}
env:
GH_TOKEN: ${{ secrets.DEPLOY_KEY }}
run: |
git clone https://github.com/zen-browser/windows-binaries.git .github/workflows/object --depth 1
mkdir -p .github/workflows/object
gh release download "windows-signed-${{ github.run_id }}" \
--repo zen-browser/windows-binaries \
--pattern 'windows-x64-signed-*.tar.gz' \
--dir .github/workflows/object
for arch in x86_64 arm64; do
archive=".github/workflows/object/windows-x64-signed-$arch.tar.gz"
@@ -624,6 +630,17 @@ jobs:
./.github/workflows/object/windows-x64-signed-arm64/zen.installer-arm64.exe
./zen.macos-universal.dmg/*
- name: Clean up signed windows staging release
if: ${{ inputs.update_branch == 'release' }}
env:
GH_TOKEN: ${{ secrets.DEPLOY_KEY }}
run: |
# The per-run staging prerelease on windows-binaries has served its purpose
# now that the signed bundles are published in the real release. Never fail
# the release over this cleanup.
gh release delete "windows-signed-${{ github.run_id }}" \
--repo zen-browser/windows-binaries --cleanup-tag --yes || true
prepare-flatpak:
if: ${{ inputs.create_release && inputs.update_branch == 'release' }}
permissions: write-all