Update dotnet-win.yml

This commit is contained in:
Ivan Bushchik 2022-02-09 16:53:50 +03:00 committed by GitHub
parent e0cf3c2ac8
commit 1b1a12dd47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,9 @@ jobs:
- name: Prepare for building - name: Prepare for building
run: mkdir prepublish && mkdir publish run: mkdir prepublish && mkdir publish
- name: Publish on osx-x64 - name: Publish on osx-x64
run: dotnet publish --runtime win-x64 -o prepublish/win-x64/ --self-contained -p:PublishSingleFile=true && mv prepublish/win-x64/roulette publish/roulette-win-x64 run: dotnet publish --runtime win-x64 -o prepublish/win-x64/ --self-contained -p:PublishSingleFile=true && mv prepublish/win-x64/roulette.exe publish/roulette-win-x64.exe
- name: Publish on linux-x64 - name: Publish on linux-x64
run: dotnet publish --runtime win-arm64 -o prepublish/win-arm64/ --self-contained -p:PublishSingleFile=true && mv prepublish/win-arm64/roulette publish/roulette-win-arm64 run: dotnet publish --runtime win-arm64 -o prepublish/win-arm64/ --self-contained -p:PublishSingleFile=true && mv prepublish/win-arm64/roulette.exe publish/roulette-win-arm64.exe
- name: Upload To Github Release - name: Upload To Github Release
@ -30,5 +30,5 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
file: publish/roulette-win-x64;publish/roulette-win-arm64 file: publish/roulette-win-x64.exe;publish/roulette-win-arm64.exe
update_latest_release: true update_latest_release: true