Add matrix build and upload artifacts
All checks were successful
First CI / build (linux-x64) (push) Successful in 1m34s
First CI / build (win-x64) (push) Successful in 1m42s

This commit is contained in:
Alicja Kwiatkowska
2025-11-20 00:49:24 +01:00
parent 009149ba7b
commit ef546acca3

View File

@@ -13,4 +13,9 @@ jobs:
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-${{ matrix.rid }} -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- run: tar cf app-${{ matrix.rid }}.tar app-${{ matrix.rid }}
- uses: actions/upload-artifact@v3
with:
name: app-${{ matrix.rid }}.tar
path: app-${{ matrix.rid }}.tar