From 88a2f7e9c1e3f62ef52ea117e50aaafcde1b12a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Lu=C5=9Bnia?= Date: Thu, 20 Nov 2025 15:31:39 +0100 Subject: [PATCH] Fix dotnet publish and let test task wait for build --- .gitea/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b343d4e..6bd525e 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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: