v5.1
This commit is contained in:
@@ -9,8 +9,18 @@ jobs:
|
|||||||
rid: [ "win-x64", "linux-x64" ]
|
rid: [ "win-x64", "linux-x64" ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-dotnet@v3
|
- uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
|
||||||
- run: dotnet restore
|
- run: dotnet restore
|
||||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
|
||||||
|
- name: Publish ${{ matrix.rid }}
|
||||||
|
run: dotnet publish -o app/${{ matrix.rid }} -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||||
|
|
||||||
|
- name: Upload artifact ${{ matrix.rid }}
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: app-${{ matrix.rid }}
|
||||||
|
path: app/${{ matrix.rid }}
|
||||||
Reference in New Issue
Block a user