From f26eefa77b7071562a68b6133f403fd44e1a89d3 Mon Sep 17 00:00:00 2001 From: szymon Date: Fri, 22 Nov 2024 11:10:36 +0100 Subject: [PATCH] Changed ci.yml --- .gitea/workflows/ci.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index da7ff40..d2de981 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,14 +1,13 @@ name: First CI on: [push] + jobs: - build: - 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 - with: - name: program - path: program \ No newline at end of file + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-dotnet@v3 + with: + dotnet-version: '6.0.x' + - run: dotnet restore + - run: dotnet build \ No newline at end of file