Skip to content

Commit

Permalink
fix: can not build Windows installer #163
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed Feb 23, 2024
1 parent 9a10aba commit 23b68d9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ jobs:
tag=$(echo ${{ matrix.platform }} | sed -e 's/\//_/g' -e 's/amd64/x64/g')
echo "tag=$tag" >> "$GITHUB_OUTPUT"
- name: Normalise platform name
id: platform_name
shell: bash
run: tag=$(echo ${{ matrix.platform }} | sed -e 's/\//_/g')

- name: Normalise version tag
id: normalise_version
shell: bash
Expand Down Expand Up @@ -97,7 +102,7 @@ jobs:
- name: Rename installer
working-directory: ./build/bin
run: Rename-Item -Path "TinyRDM-${{ matrix.platform }}-installer.exe" -NewName "TinyRDM_Setup_${{ steps.normalise_version.outputs.version }}_${{ steps.normalise_platform.outputs.tag }}.exe"
run: Rename-Item -Path "TinyRDM-${{ matrix.platform }}-installer.exe" -NewName "TinyRDM_Setup_${{ steps.normalise_version.outputs.version }}_${{ steps.platform_name.outputs.tag }}.exe"

- name: Upload release asset (Installer)
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 23b68d9

Please sign in to comment.