Skip to content

Commit bf166a0

Browse files
committed
refactor: add Github token to the APK download request, rename sync_to_xposed.yml to sync_release_to_xposed.yml
1 parent 55814d0 commit bf166a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync_to_xposed.yml renamed to .github/workflows/sync_release_to_xposed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Download APK
6868
run: |
6969
echo "Downloading APK from: ${{ steps.release_info.outputs.apk_download_url }}"
70-
curl -L -o "${{ steps.release_info.outputs.apk_name }}" "${{ steps.release_info.outputs.apk_download_url }}"
70+
curl -L -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" -o "${{ steps.release_info.outputs.apk_name }}" "${{ steps.release_info.outputs.apk_download_url }}"
7171
7272
# Verify download
7373
if [ ! -f "${{ steps.release_info.outputs.apk_name }}" ]; then
@@ -112,7 +112,7 @@ jobs:
112112
# Create release using GitHub CLI
113113
gh release create "${{ steps.version_info.outputs.xposed_tag }}" \
114114
--repo "Xposed-Modules-Repo/com.wizpizz.onepluspluslauncher" \
115-
--title "Release ${{ steps.version_info.outputs.xposed_tag }}" \
115+
--title "v${{ steps.version_info.outputs.version_name }}" \
116116
--notes-file "release_body.md" \
117117
"${{ steps.release_info.outputs.apk_name }}" || \
118118
# If release exists, upload to existing release

0 commit comments

Comments
 (0)