From 124bde234a3874acde393a628a59e052287a8913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=20Nam=C3=A8che?= Date: Mon, 26 Jan 2026 16:54:19 +0300 Subject: [PATCH 1/2] actions: test 01 --- .gitea/workflows/demo.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/demo.yml diff --git a/.gitea/workflows/demo.yml b/.gitea/workflows/demo.yml new file mode 100644 index 0000000..99437df --- /dev/null +++ b/.gitea/workflows/demo.yml @@ -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-24.04 + 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@v4 + - 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 7b8cc67d8fecc8e1ff3c12215f51416a69880bc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=2E=20Nam=C3=A8che?= Date: Mon, 26 Jan 2026 17:14:41 +0300 Subject: [PATCH 2/2] actions: WIP --- .gitea/workflows/demo.yml | 19 ------------------- .gitea/workflows/publish.yml | 16 ++++++++++++++++ seb4itik/byow/galaxy.yml | 2 +- 3 files changed, 17 insertions(+), 20 deletions(-) delete mode 100644 .gitea/workflows/demo.yml create mode 100644 .gitea/workflows/publish.yml diff --git a/.gitea/workflows/demo.yml b/.gitea/workflows/demo.yml deleted file mode 100644 index 99437df..0000000 --- a/.gitea/workflows/demo.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions πŸš€ -on: [push] - -jobs: - Explore-Gitea-Actions: - runs-on: ubuntu-24.04 - 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@v4 - - 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 }}." diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml new file mode 100644 index 0000000..f72f5df --- /dev/null +++ b/.gitea/workflows/publish.yml @@ -0,0 +1,16 @@ +name: Publish collection to Galagxy +on: + push: + branches: + - main + +jobs: + publish: + runs-on: ubuntu-24.04 + steps: + - run: apt install -y pipx + - run: pipx install ansible==12.3.0 --include-deps + - run: pipx inject ansible ansible-lint --include-apps + - uses: actions/checkout@v4 + - run: cd seb4itik/byow && ansible-galaxy collection build + - run: pwd diff --git a/seb4itik/byow/galaxy.yml b/seb4itik/byow/galaxy.yml index 153642c..4aab5a7 100644 --- a/seb4itik/byow/galaxy.yml +++ b/seb4itik/byow/galaxy.yml @@ -1,6 +1,6 @@ namespace: "seb4itik" name: "byow" -version: "0.1.1" +version: "0.1.2" readme: "README.md" authors: - "S. NamΓ¨che "