change ci yaml file for .NET app

This commit is contained in:
Mateusz Kozieł
2025-11-20 16:20:21 +02:00
parent b168c31f20
commit b87d8a0079

View File

@@ -6,10 +6,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: build using gcc - uses: actions/setup-dotnet@v3
run: gcc -Wall -Werror main.c -o program
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with: with:
name: program dotnet-version: '8.0.x'
path: program - run: dotnet restore
- run: dotnet build
test:
runs-on: ubuntu-latest
steps:
- name: trying to run
run: dotnet run