Fix dotnet publish and let test task wait for build
Some checks failed
First CI / build (push) Failing after 57s
First CI / test (push) Has been skipped

This commit is contained in:
Maciej Luśnia
2025-11-20 15:31:39 +01:00
parent 8b58c263b0
commit 88a2f7e9c1

View File

@@ -11,13 +11,15 @@ jobs:
- run: dotnet restore
- run: dotnet build
- run: dotnet test
- run: dotnet publish -o app -r linux-x64 --sc/p:PublishSingleFile=true,AssemblyName=app
- run: dotnet publish -o app -r linux-x64 -s -c -p:PublishSingleFile=true,AssemblyName=app
- run: tar cf app.tar app/
- uses: actions/upload-artifact@v3
with:
name: app.tar
path: app.tar
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v3
with: