From f6c70ff3cbbe876a88bc349d7d7e64bb6c487507 Mon Sep 17 00:00:00 2001 From: Uladzislau Kamisarau Date: Fri, 21 Nov 2025 13:42:14 +0100 Subject: [PATCH] Update ci.yml --- .gitea/workflows/ci.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index a044766..1286863 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,24 +5,18 @@ on: [push] jobs: build: runs-on: ubuntu-latest + + strategy: + matrix: + rid: ["win-x64", "linux-x64"] + steps: - uses: actions/checkout@v4 - uses: actions/setup-dotnet@v3 with: - dotnet-version: '9.0.x' + dotnet-version: '8.0.x' - run: dotnet restore - - run: dotnet build - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-dotnet@v3 - with: - dotnet-version: '9.0.x' - - - name: trying to run - run: dotnet run + - run: dotnet publish -o app -r ${{ matrix.rid }} --self-contained true /p:PublishSingleFile=true