Skip to content

Commit d9c008b

Browse files
committed
feat: Add workflow to create AutoBuild releases
1 parent 0d604b7 commit d9c008b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/android.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,13 @@ jobs:
5151
path: |
5252
app/build/outputs/apk/universal/release
5353
app/build/outputs/mapping/universalRelease/mapping.txt
54+
55+
- name: Create AutoBuild Release
56+
run: |
57+
GIT_DESCRIBE=$(git rev-parse --short HEAD)
58+
cd app/build/outputs/apk/universal/release/
59+
mv app-universal-release.apk ReVancedXposed-${GIT_DESCRIBE}.apk
60+
gh release delete autobuild --yes || true
61+
gh release create autobuild ReVancedXposed-${GIT_DESCRIBE}.apk --prerelease --title "AutoBuild ${GIT_DESCRIBE}"
62+
env:
63+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)