mirror of
https://github.com/ivabus/roulette
synced 2024-11-23 08:55:09 +03:00
Update dotnet-win.yml
This commit is contained in:
parent
e0cf3c2ac8
commit
1b1a12dd47
1 changed files with 3 additions and 3 deletions
6
.github/workflows/dotnet-win.yml
vendored
6
.github/workflows/dotnet-win.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue