From 5c5980f9e9a10394ae75c654baeffe9172d91577 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 21 Nov 2025 11:27:51 +0100 Subject: [PATCH] Przekazywanie Artefaktow Dobre 3 --- .gitea/workflows/ci.yml | 2 +- .gitea/workflows/ci2.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/ci2.yml diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 951af83..a0f7a02 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -23,5 +23,5 @@ jobs: - uses: actions/download-artifact@v3 with: name: app.tar - - run: tar xf app.tar/app + - run: tar xf app.tar app/ - run: ./app/app diff --git a/.gitea/workflows/ci2.yml b/.gitea/workflows/ci2.yml new file mode 100644 index 0000000..fa0f0d4 --- /dev/null +++ b/.gitea/workflows/ci2.yml @@ -0,0 +1,16 @@ +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: '8.0.x' + - run: dotnet restore + - run: dotnet publish -o app -r ${{ matrix.rid }} --sc /p:PublishSingleFile=true