fix2
Some checks failed
First CI / build (linux-x64) (push) Failing after 1m21s
First CI / build (win-x64) (push) Failing after 1m30s

This commit is contained in:
mykola-derevianko
2025-11-21 11:36:51 +01:00
parent 634ca19be0
commit bccd4c9f03

View File

@@ -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