Try v2
All checks were successful
First CI / build (win-x64) (push) Successful in 1m21s
First CI / build (linux-x64) (push) Successful in 1m24s

This commit is contained in:
szymon 2024-11-22 11:35:24 +01:00
parent 45c8cd0c0a
commit 0a5161f12d

View File

@ -13,17 +13,9 @@ jobs:
with:
dotnet-version: '8.0.x'
- run: dotnet restore
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true
- run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app
- run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true,AssemblyName=app
- run: tar cf app.tar app/
- uses: actions/upload-artifact@v3
with:
name: app.tar
path: app.tar
test:
steps:
- uses: actions/download-artifact@v3
with:
name: app.tar
- run: tar xf app.tar
- run: ./app/app