From 404f23e12f2c45b91f96be94a1dfea03f6199d53 Mon Sep 17 00:00:00 2001 From: RaVi Date: Tue, 21 Nov 2023 14:19:53 +0100 Subject: [PATCH] slslslsaldlas --- .gitea/workflows/ci.yml | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 1fb8557..11116a0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,15 +1,22 @@ name: First CI + 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: '6.0.x' - - run: dotnet restore - - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true \ No newline at end of file +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: '6.0.x' + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: app-${{ matrix.rid }} + path: ./app \ No newline at end of file