Skip to content

Commit 4c3c5f3

Browse files
Seperate execute and runable
1 parent a96ee19 commit 4c3c5f3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,14 @@ jobs:
4141
env:
4242
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
4343
run: ./gradlew --info --stacktrace prepareCentralBundle
44-
- name: Upload bundle to Central Portal
44+
45+
- name: Grant execute permission for upload script
46+
run: chmod +x .github/scripts/upload_central.sh
47+
- name: Upload bundle via Central Publisher API (USER_MANAGED)
48+
run: .github/scripts/upload_central.sh "android-native/build/central-bundle.zip"
4549
env:
4650
CENTRAL_USERNAME: ${{ secrets.OSSRH_USERNAME }}
4751
CENTRAL_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
48-
run: |
49-
chmod +x .github/scripts/upload_central.sh
50-
.github/scripts/upload_central.sh build/central-bundle.zip
5152

5253
- name: Tag and update version
5354
run: |

0 commit comments

Comments
 (0)