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