From 0309924e9e84b38ba92dfcc52317b33a4485142a Mon Sep 17 00:00:00 2001 From: LukaszKrawczykDev Date: Thu, 20 Nov 2025 15:51:52 +0100 Subject: [PATCH] v4.2 --- .gitea/workflows/ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index f624884..001cbbd 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -13,16 +13,18 @@ jobs: - run: dotnet build - run: dotnet test - run: dotnet publish -o app -r linux-x64 --sc /p:PublishSingleFile=true,AssemblyName=app - - run: | - mkdir -p artifacts - tar cf artifacts/app.tar app/ - outputs: - artifact_path: artifacts/app.tar + - run: tar cf app.tar app/ + - uses: actions/upload-artifact@v3 + with: + name: app + path: app.tar test: runs-on: ubuntu-latest needs: build steps: - - uses: actions/checkout@v4 - - run: cp "${{ needs.build.outputs.artifact_path }}" ./app.tar + - uses: actions/download-artifact@v3 + with: + name: app + - run: ls -R . - run: tar xf app.tar - run: ./app/app \ No newline at end of file