commit 11
This commit is contained in:
parent
d68aafafc3
commit
303dcc2e01
@ -8,9 +8,22 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
rid: ["win-x64", "linux-x64"]
|
rid: ["win-x64", "linux-x64"]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
- uses: actions/setup-dotnet@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup .NET
|
||||||
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- run: dotnet restore
|
|
||||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
- name: Restore dependencies
|
||||||
|
run: dotnet restore
|
||||||
|
|
||||||
|
- name: Publish application
|
||||||
|
run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ matrix.rid }}-artifacts
|
||||||
|
path: app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user