Test upload file to package registry latest version
This commit is contained in:
@@ -39,15 +39,6 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@v5
|
||||
with:
|
||||
java-version: '21'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v4
|
||||
|
||||
- name: Grant execute permission
|
||||
run: chmod +x ./gradlew
|
||||
|
||||
@@ -87,7 +78,6 @@ jobs:
|
||||
|
||||
- name: Upload APK to Package Registry
|
||||
run: |
|
||||
VERSION="${VERSION_NAME}-build${GITHUB_RUN_NUMBER}"
|
||||
curl \
|
||||
--fail \
|
||||
--user "${{ github.actor }}:${{ secrets.PACKAGE_TOKEN }}" \
|
||||
@@ -101,4 +91,4 @@ jobs:
|
||||
--fail \
|
||||
--user "${{ github.actor }}:${{ secrets.PACKAGE_TOKEN }}" \
|
||||
--upload-file androidApp/build/outputs/apk/debug/androidApp-debug.apk \
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/android-debug/${PACKAGE_VERSION}/Torque-Vault.apk"
|
||||
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/android-debug/${VERSION}/Torque-Vault.apk"
|
||||
|
||||
Reference in New Issue
Block a user