summaryrefslogtreecommitdiff
path: root/.github/workflows/package-win.yml
diff options
context:
space:
mode:
authorxxanqw <[email protected]>2025-11-26 13:19:25 +0200
committerxxanqw <[email protected]>2025-11-26 13:19:25 +0200
commit5e2888348e28f8340a54153c618c5373bc194ec5 (patch)
tree5a19789e39cdc46ad4a8ae532b8301190f11b884 /.github/workflows/package-win.yml
parentcc5c6ba5536e65cf5ab78854448d931c93d3c12a (diff)
downloadmikusays-c-5e2888348e28f8340a54153c618c5373bc194ec5.tar.gz
mikusays-c-5e2888348e28f8340a54153c618c5373bc194ec5.zip
Enhance version handling in CI workflows and update artifact naming conventions
Diffstat (limited to '.github/workflows/package-win.yml')
-rw-r--r--.github/workflows/package-win.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.github/workflows/package-win.yml b/.github/workflows/package-win.yml
index 5a98fa8..185b04e 100644
--- a/.github/workflows/package-win.yml
+++ b/.github/workflows/package-win.yml
@@ -63,13 +63,16 @@ jobs:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
$TAG = "${{ steps.get_tag.outputs.tag }}"
- gh release download $TAG -p "mikusays-windows-*.exe"
+ $Version = "${{ steps.get_version.outputs.version }}"
+ gh release download $TAG -p "mikusays-windows-x86_64-$Version.exe"
+ gh release download $TAG -p "mikusays-windows-aarch64-$Version.exe"
- name: Generate NSIS Script
shell: pwsh
run: |
$Version = "${{ steps.get_version.outputs.version }}"
$InstallerName = "mikusays-windows-inst-any-$Version.exe"
+ $UploadName = "mikusays-windows-inst-any-$Version.exe"
# Prepend 0. to create a 4-part version string (0.X.Y.Z)
$NsisVersion = "0.$Version"
@@ -281,5 +284,5 @@ jobs:
run: |
$TAG = "${{ steps.get_tag.outputs.tag }}"
$Version = "${{ steps.get_version.outputs.version }}"
- $InstallerName = "mikusays-windows-inst-any-$Version.exe"
- gh release upload $TAG $InstallerName --clobber
+ $UploadName = "mikusays-windows-inst-any-$Version.exe"
+ gh release upload $TAG $UploadName --clobber