Skip to content

Commit

Permalink
ci: fix GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenMian committed Apr 26, 2024
1 parent bd7beda commit 67689e4
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,19 @@ jobs:
tag: ${{ env.TAG }}
overwrite: true

- name: Create installer
run: dotnet build -p:Version=${{ env.TAG }} -c Release build/windows/installer/Installer.wixproj --output installer

- name: Upload artifact to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: installer/en-US/installer.msi
asset_name: sokoban-windows.msi
tag: ${{ env.TAG }}
overwrite: true
# - name: Create installer
# run: |
# set VERSION=
# dotnet build -p:Version=${{ env.TAG }} -c Release build/windows/installer/Installer.wixproj --output installer

# - name: Upload artifact to release
# uses: svenstaro/upload-release-action@v2
# with:
# repo_token: ${{ secrets.GITHUB_TOKEN }}
# file: installer/en-US/installer.msi
# asset_name: sokoban-windows.msi
# tag: ${{ env.TAG }}
# overwrite: true

build-linux:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 67689e4

Please sign in to comment.