ci: Use full 'windows' platform tag for artifacts

This commit is contained in:
Matt Borgerson
2026-01-04 23:04:49 -07:00
committed by mborgerson
parent 4b17284800
commit 0428fa4388
2 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
with:
name: xemu-win-${{ matrix.arch }}-${{ matrix.configuration }}
name: xemu-windows-${{ matrix.arch }}-${{ matrix.configuration }}
path: dist
# Generate a symbols package for Windows. Use cv2pdb to generate PDBs from
@ -71,7 +71,7 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v4
with:
name: xemu-win-${{ matrix.arch }}-${{ matrix.configuration }}
name: xemu-windows-${{ matrix.arch }}-${{ matrix.configuration }}
path: dist
- name: Generate PDB
run: |
@ -85,8 +85,8 @@ jobs:
env:
VERSION: ${{ inputs.pkg_version }}${{ matrix.configuration == 'debug' && '-dbg' || '' }}
run: |
echo "pkg_filename=xemu-${VERSION}-win-${{ matrix.arch }}.zip" >> $GITHUB_OUTPUT
echo "pdb_filename=xemu-${VERSION}-win-${{ matrix.arch }}-pdb.zip" >> $GITHUB_OUTPUT
echo "pkg_filename=xemu-${VERSION}-windows-${{ matrix.arch }}.zip" >> $GITHUB_OUTPUT
echo "pdb_filename=xemu-${VERSION}-windows-${{ matrix.arch }}-pdb.zip" >> $GITHUB_OUTPUT
- name: Package
run: |
mkdir dist-pdb
@ -96,6 +96,6 @@ jobs:
- name: Upload build artifact
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v4
with:
name: xemu-win-${{ matrix.arch }}-${{ matrix.configuration }}-pdb
name: xemu-windows-${{ matrix.arch }}-${{ matrix.configuration }}-pdb
path: dist-pdb
compression-level: 0

View File

@ -37,8 +37,8 @@ jobs:
- name: Add transitionary package aliases
run: |
pushd dist
cp xemu-${{ needs.build.outputs.pkg_version }}-win-x86_64.zip xemu-win-x86_64-release.zip
cp xemu-${{ needs.build.outputs.pkg_version }}-win-arm64.zip xemu-win-aarch64-release.zip
cp xemu-${{ needs.build.outputs.pkg_version }}-windows-x86_64.zip xemu-win-x86_64-release.zip
cp xemu-${{ needs.build.outputs.pkg_version }}-windows-arm64.zip xemu-win-aarch64-release.zip
- name: Create release draft
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
with:
@ -48,6 +48,6 @@ jobs:
draft: true
files: |
dist/xemu*.tar.zst
dist/xemu*-win-*.zip
dist/xemu*-win*.zip
dist/xemu*-macos-universal*.zip
dist/xemu*.AppImage