From 28c44f4cce21fa2d8e8f7bc5dc913a4e4c29f0a8 Mon Sep 17 00:00:00 2001 From: cdez Date: Mon, 10 Jul 2023 21:36:24 -0700 Subject: [PATCH 1/5] Upload Workflow: Compile ++ Compile Projects Workflows --- .gitea/workflows/compileProject.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/compileProject.yml diff --git a/.gitea/workflows/compileProject.yml b/.gitea/workflows/compileProject.yml new file mode 100644 index 0000000..6291ca0 --- /dev/null +++ b/.gitea/workflows/compileProject.yml @@ -0,0 +1,14 @@ +name: Compile Projects +on: + push: + branches: main + +jobs: + build: + name: Compile C Programs + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: compile + run: gcc -Wall **.c -o [prog_]**.exe From 1ced43ee8cd933d1d91719a19c323889382dc280 Mon Sep 17 00:00:00 2001 From: cdez Date: Mon, 10 Jul 2023 21:38:57 -0700 Subject: [PATCH 2/5] Update .gitignore +- Git Ignore Files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3a48871..f469780 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ PA06-1019/Tax_Report_2005.txt PA06-1019/Tax_Report_2006.txt PA06-1019/Tax_Report_2010.txt PA06-1019/Tax_Report_2021.txt +PA09-1118/Non-ExistantFile.txt \ No newline at end of file From 0187715a7a87bd30e5b281c0dd894510fb1a9ac4 Mon Sep 17 00:00:00 2001 From: cdez Date: Mon, 10 Jul 2023 21:42:36 -0700 Subject: [PATCH 3/5] Reformatted YAML Workflow +- YAML file for workflow --- .gitea/workflows/{compileProject.yml => compileProject.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .gitea/workflows/{compileProject.yml => compileProject.yaml} (100%) diff --git a/.gitea/workflows/compileProject.yml b/.gitea/workflows/compileProject.yaml similarity index 100% rename from .gitea/workflows/compileProject.yml rename to .gitea/workflows/compileProject.yaml From dbe08f6f77fe0893ca4986ca29897db27b76abcf Mon Sep 17 00:00:00 2001 From: cdez Date: Mon, 10 Jul 2023 21:44:23 -0700 Subject: [PATCH 4/5] Create demoWorkflow.yaml ++ Demo Workflow --- .gitea/workflows/demoWorkflow.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/demoWorkflow.yaml diff --git a/.gitea/workflows/demoWorkflow.yaml b/.gitea/workflows/demoWorkflow.yaml new file mode 100644 index 0000000..ab57d6f --- /dev/null +++ b/.gitea/workflows/demoWorkflow.yaml @@ -0,0 +1,19 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions +on: [push] + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event." + - run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!" + - run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Check out repository code + uses: actions/checkout@v3 + - run: echo "The ${{ gitea.repository }} repository has been cloned to the runner." + - run: echo "The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - run: echo "This job's status is ${{ job.status }}." From a78699eb9544fd7d045cb78278d789d4abc4288e Mon Sep 17 00:00:00 2001 From: cdez Date: Mon, 10 Jul 2023 21:46:45 -0700 Subject: [PATCH 5/5] Trying for Workflows using 'proper' syntax +- gitea workflows +- forgejo workflows --- {.gitea => .forgejo}/workflows/compileProject.yaml | 0 {.gitea => .forgejo}/workflows/demoWorkflow.yaml | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename {.gitea => .forgejo}/workflows/compileProject.yaml (100%) rename {.gitea => .forgejo}/workflows/demoWorkflow.yaml (100%) diff --git a/.gitea/workflows/compileProject.yaml b/.forgejo/workflows/compileProject.yaml similarity index 100% rename from .gitea/workflows/compileProject.yaml rename to .forgejo/workflows/compileProject.yaml diff --git a/.gitea/workflows/demoWorkflow.yaml b/.forgejo/workflows/demoWorkflow.yaml similarity index 100% rename from .gitea/workflows/demoWorkflow.yaml rename to .forgejo/workflows/demoWorkflow.yaml