Update .gitea/workflows/ci.yml
Some checks failed
First CI / build (push) Has been cancelled

This commit is contained in:
97634 2024-11-22 10:33:26 +00:00
parent b6d4ad3f74
commit 60054faad0

View File

@ -6,10 +6,12 @@ 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: '6.0.x'
path: program - run: dotnet restore
- run: dotnet build
test:
steps:
- name: trying to run
run: dotnet run