feat: add production artifacts to workflow
All checks were successful
First CI / build (push) Successful in 13s
All checks were successful
First CI / build (push) Successful in 13s
This commit is contained in:
@@ -1,3 +1,15 @@
|
|||||||
|
# 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
|
||||||
|
|
||||||
|
# ZAD 3
|
||||||
name: First CI
|
name: First CI
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@@ -7,4 +19,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: build using gcc
|
- name: build using gcc
|
||||||
run: gcc -Wall -Werror main.c
|
run: gcc -Wall -Werror main.c -o program
|
||||||
|
- name: Archive production artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: program
|
||||||
|
path: program
|
||||||
|
|||||||
Reference in New Issue
Block a user