Compare commits
17
Commits
6fdf15fa37
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
98de773f34 | ||
|
|
9e669e80f5 | ||
|
|
b510347040 | ||
|
|
140b4a4cb7 | ||
|
|
d270c3335d | ||
|
|
9546e5e2a3 | ||
|
|
1b7ebdd5fd | ||
|
|
9a59553c8e | ||
|
|
691125a387 | ||
|
|
f10136abe3 | ||
|
|
6870349961 | ||
|
|
11bca31ecf | ||
|
|
1310af22e9 | ||
|
|
238a8b26eb | ||
|
|
8cd86c1c0a | ||
|
|
1e770d894f | ||
|
|
19532646dd |
@@ -36,6 +36,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
|
tags: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
|
||||||
|
cache-from: type=registry,ref=gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk::buildcache
|
||||||
|
cache-to: type=registry,ref=gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk::buildcache,mode=max
|
||||||
|
|
||||||
|
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
@@ -21,30 +21,17 @@ jobs:
|
|||||||
- name: List files in the repository
|
- name: List files in the repository
|
||||||
run: |
|
run: |
|
||||||
ls ${{ gitea.workspace }}
|
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
|
- name: Run the build process with Docker
|
||||||
uses: addnab/docker-run-action@v3
|
uses: addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
|
image: gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/xapktoapk:latest
|
||||||
options: -v ${{ gitea.workspace }}/data/spotify.xapk:/mnt/data/spotify.xapk
|
options: -v ${{ gitea.workspace }}/data/:/mnt/data/
|
||||||
run: |
|
- name: List files in the repository
|
||||||
spotify.xapk
|
run: |
|
||||||
|
find ${{ gitea.workspace }}
|
||||||
# image: alpine
|
- name: curl
|
||||||
# #options: -v /workspace/pi-ux-ce/revanced_manager/data/spotify.xapk:/mnt/data/spotify.xapk
|
uses: sozo-design/curl@v1.0.2
|
||||||
# options: --mount type=bind,src=/workspace/pi-ux-ce/revanced_manager/data/,dst=/mnt/test/
|
with:
|
||||||
# run: |
|
args: --user {{secrets.USERNAME_GITEA}}:{{secrets.PASSWORD_GITEA}} --upload-file /mnt/data/spotify.xapk https://gitea.tryton.geeraert.eu/api/packages/pi-ux-ce/generic/spotify-splitted/latest/spotify.xapk
|
||||||
# ls -alh /mnt/test/
|
|
||||||
# ls -alh /
|
|
||||||
# pwd
|
|
||||||
# find /mnt/test/
|
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
@@ -18,3 +18,16 @@ Wed May 28 10:52:03 AM BST 2025
|
|||||||
Wed May 28 10:55:52 AM BST 2025
|
Wed May 28 10:55:52 AM BST 2025
|
||||||
Wed May 28 10:58:04 AM BST 2025
|
Wed May 28 10:58:04 AM BST 2025
|
||||||
Wed May 28 11:11:08 AM BST 2025
|
Wed May 28 11:11:08 AM BST 2025
|
||||||
|
Wed May 28 11:25:20 AM BST 2025
|
||||||
|
Wed May 28 11:29:57 AM BST 2025
|
||||||
|
Wed May 28 11:33:47 AM BST 2025
|
||||||
|
Wed May 28 11:35:44 AM BST 2025
|
||||||
|
Wed May 28 02:54:51 PM BST 2025
|
||||||
|
Wed May 28 02:56:06 PM BST 2025
|
||||||
|
Wed May 28 02:56:58 PM BST 2025
|
||||||
|
Wed May 28 02:58:06 PM BST 2025
|
||||||
|
Wed May 28 03:08:20 PM BST 2025
|
||||||
|
Wed May 28 03:08:48 PM BST 2025
|
||||||
|
Wed May 28 03:11:00 PM BST 2025
|
||||||
|
Wed May 28 03:12:46 PM BST 2025
|
||||||
|
Wed May 28 03:15:00 PM BST 2025
|
||||||
|
|||||||
@@ -24,4 +24,6 @@ if [ ! -f "xapktoapk.sign.properties" -a ! -f "xapktoapk.keystore" ]; then
|
|||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python xapktoapk.py "$@"
|
#wget https://gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/raw/commit/6fdf15fa37e63ccbbdfdc52a2f191b2eafd816a2/data/spotify.xapk -o /tmp/spotify.xapk
|
||||||
|
python xapktoapk.py /tmp/spotify.xapk
|
||||||
|
#python xapktoapk.py "$@"
|
||||||
|
|||||||
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
ARG BUILD_TOOLS_VERSION="36.0.0"
|
ARG BUILD_TOOLS_VERSION="36.0.0"
|
||||||
ARG APKTOOL_VERSION="2.11.1"
|
ARG APKTOOL_VERSION="2.11.1"
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.13-slim
|
FROM python:3.13-slim
|
||||||
|
|
||||||
ARG BUILD_TOOLS_VERSION
|
ARG BUILD_TOOLS_VERSION
|
||||||
@@ -17,6 +17,7 @@ ENV PATH="$PATH:/opt/android-sdk/build-tools/${BUILD_TOOLS_VERSION}"
|
|||||||
RUN \
|
RUN \
|
||||||
wget -q https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool && \
|
wget -q https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool && \
|
||||||
wget -q https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${APKTOOL_VERSION}.jar -O /usr/local/bin/apktool.jar && \
|
wget -q https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_${APKTOOL_VERSION}.jar -O /usr/local/bin/apktool.jar && \
|
||||||
|
wget -q https://gitea.tryton.geeraert.eu/pi-ux-ce/revanced_manager/raw/branch/main/data/spotify.xapk -O /tmp/spotify.xapk && \
|
||||||
chmod +x /usr/local/bin/apktool /usr/local/bin/apktool.jar
|
chmod +x /usr/local/bin/apktool /usr/local/bin/apktool.jar
|
||||||
|
|
||||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user