fix2
This commit is contained in:
@@ -7,19 +7,23 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
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
|
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||||
|
|
||||||
- name: create tar
|
- name: Create tar
|
||||||
- run: tar cf app-${{ matrix.rid }}.tar -C app/ .
|
run: tar -cf app-${{ matrix.rid }}.tar -C app .
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
- uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: app-${{ matrix.rid }}
|
name: app-${{ matrix.rid }}
|
||||||
path: ./app/app-${{ matrix.rid }}.tar
|
path: app-${{ matrix.rid }}.tar
|
||||||
|
|||||||
Reference in New Issue
Block a user