From af97537ec51be29769f4ab9cc02f6dd70708a47b Mon Sep 17 00:00:00 2001 From: Aleksandra Olejarz Date: Tue, 26 Nov 2024 14:03:11 +0100 Subject: [PATCH] Dodanie konfiguracji .NET w CI --- .gitea/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 2d75492..91663f1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -5,10 +5,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: build using gcc - run: gcc -Wall -Werror main.c -o program - - name: Archive production artifacts - uses: actions/upload-artifact@v3 + - uses: actions/setup-dotnet@v3 with: - name: program - path: program + dotnet-version: '8.0.x' + - run: dotnet restore + - run: dotnet build