This commit is contained in:
parent
cba7a3f09b
commit
f26eefa77b
@ -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
|
with:
|
||||||
- name: Archive production artifacts
|
dotnet-version: '6.0.x'
|
||||||
uses: actions/upload-artifact@v3
|
- run: dotnet restore
|
||||||
with:
|
- run: dotnet build
|
||||||
name: program
|
|
||||||
path: program
|
|
Loading…
Reference in New Issue
Block a user