mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-08 22:25:42 +12:00
Update dotnet.yml
This commit is contained in:
parent
e34c4ae60a
commit
2b2b1e0403
1 changed files with 17 additions and 3 deletions
20
.github/workflows/dotnet.yml
vendored
20
.github/workflows/dotnet.yml
vendored
|
@ -16,16 +16,30 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v1
|
uses: actions/setup-dotnet@v1
|
||||||
with:
|
with:
|
||||||
dotnet-version: 5.0.x
|
dotnet-version: 5.0.x
|
||||||
|
|
||||||
- name: Restore dependencies
|
- name: Restore dependencies
|
||||||
run: dotnet restore
|
run: dotnet restore
|
||||||
- name: Build
|
|
||||||
|
- name: Build linux-64
|
||||||
run: dotnet publish -r linux-x64 --self-contained false
|
run: dotnet publish -r linux-x64 --self-contained false
|
||||||
- name: upload result
|
|
||||||
|
- name: Build win-64
|
||||||
|
run: dotnet publish -r win-x64 --self-contained false
|
||||||
|
|
||||||
|
- name: upload linux-64
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: result
|
name: linux-x64
|
||||||
path: Horse Isle Server/HorseIsleServer/bin/Debug/net5.0/linux-x64/publish/
|
path: Horse Isle Server/HorseIsleServer/bin/Debug/net5.0/linux-x64/publish/
|
||||||
|
|
||||||
|
- name: upload-win64
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: win-64
|
||||||
|
path: Horse Isle Server/HorseIsleServer/bin/Debug/net5.0/win-x64/publish/
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue