From 202d3936825980f226ba9820df28a5543547f914 Mon Sep 17 00:00:00 2001 From: Pierre Geeraert Date: Tue, 27 May 2025 17:57:52 +0100 Subject: [PATCH] try the split runner --- .gitea/workflows/split_runner.yaml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitea/workflows/split_runner.yaml diff --git a/.gitea/workflows/split_runner.yaml b/.gitea/workflows/split_runner.yaml new file mode 100644 index 0000000..e4eae18 --- /dev/null +++ b/.gitea/workflows/split_runner.yaml @@ -0,0 +1,32 @@ +name: Gitea Actions Demo +run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +on: + issue_comment: + push: + branches: + - "*" + paths: + - 'data/split.txt' + tags-ignore: + - '*' + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - 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." + - name: List files in the repository + run: | + ls ${{ gitea.workspace }} + - name: Run the build process with Docker + uses: addnab/docker-run-action@v3 + with: + image: docker pull gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest + options: -v ${{ github.workspace }}:/mnt/data + run: | + /mnt/data/spotify.xapk + + - run: echo "🍏 This job's status is ${{ job.status }}."