Changed ci.yml
Some checks failed
First CI / build (push) Failing after 42s

This commit is contained in:
szymon 2024-11-22 11:10:36 +01:00
parent cba7a3f09b
commit f26eefa77b

View File

@ -1,14 +1,13 @@
name: First CI name: First CI
on: [push] on: [push]
jobs: jobs:
build: build:
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