fix2
This commit is contained in:
@@ -7,19 +7,23 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
rid: ["win-x64", "linux-x64"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- run: dotnet restore
|
||||
|
||||
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
|
||||
|
||||
- name: create tar
|
||||
- run: tar cf app-${{ matrix.rid }}.tar -C app/ .
|
||||
- name: Create tar
|
||||
run: tar -cf app-${{ matrix.rid }}.tar -C app .
|
||||
|
||||
- name: Upload artifact
|
||||
- uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: app-${{ matrix.rid }}
|
||||
path: ./app/app-${{ matrix.rid }}.tar
|
||||
path: app-${{ matrix.rid }}.tar
|
||||
|
||||
Reference in New Issue
Block a user