From ff33acc90967041473af0dc3e30f5c69407e7ee7 Mon Sep 17 00:00:00 2001 From: szymon Date: Fri, 22 Nov 2024 11:05:34 +0100 Subject: [PATCH] Edited ci.yml --- .gitea/workflows/ci.yml | 7 ++++++- main.c | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index d25b157..abe5266 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,4 +6,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: build using gcc - run: gcc -Wall -Werror main.c \ No newline at end of file + run: gcc -Wall -Werror main.c -o program + - name: Archive production artifacts + uses: actions/upload-artifact@v3 + with: + name: program + path: program \ No newline at end of file diff --git a/main.c b/main.c index 2ce9e91..520a57c 100644 --- a/main.c +++ b/main.c @@ -1,5 +1,4 @@ -#include - +#include using namespace std; int main()