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