From 45ff334064743d27ca590a249ab30b08be0edbb1 Mon Sep 17 00:00:00 2001 From: AsiaK21 Date: Tue, 21 Nov 2023 16:45:34 +0100 Subject: [PATCH] zadanie 5 samodzielne --- .gitea/workflows/ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9c5a716..a379769 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,7 +1,5 @@ name: First CI - on: [push] - jobs: build: runs-on: ubuntu-latest @@ -9,13 +7,13 @@ jobs: matrix: rid: ["win-x64", "linux-x64"] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-dotnet@v3 + - 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 - - uses: actions/upload-artifact@v2 + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true + - uses: actions/upload-artifact@v2 with: name: ${{ matrix.rid }}-artifacts path: app