Files
revanced_manager/.gitea/workflows/split_runner.yaml
T
Pierre Geeraert 6fdf15fa37
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m10s
Wed May 28 11:11:08 AM BST 2025 triggering split job
2025-05-28 11:11:08 +01:00

51 lines
1.8 KiB
YAML

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: give permissions to spotify.xapk
run: |
chmod 777 ${{ gitea.workspace }}/data/spotify.xapk
- name: copy spotify.xapk
run: |
cp ${{ gitea.workspace }}/data/spotify.xapk ${{ gitea.workspace }}/data/new_spotify.xapk
- name: check permissions to spotify.xapk
run: |
ls -alh ${{ gitea.workspace }}/data/
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
options: -v ${{ gitea.workspace }}/data/spotify.xapk:/mnt/data/spotify.xapk
run: |
spotify.xapk
# image: alpine
# #options: -v /workspace/pi-ux-ce/revanced_manager/data/spotify.xapk:/mnt/data/spotify.xapk
# options: --mount type=bind,src=/workspace/pi-ux-ce/revanced_manager/data/,dst=/mnt/test/
# run: |
# ls -alh /mnt/test/
# ls -alh /
# pwd
# find /mnt/test/
- run: echo "🍏 This job's status is ${{ job.status }}."