We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7fe58e commit 52defafCopy full SHA for 52defaf
1 file changed
.github/workflows/android-release.yml
@@ -70,13 +70,15 @@ jobs:
70
71
- name: Rename APK
72
run: |
73
+ VERSION=$(node -p "require('./package.json').version")
74
ls -R android/app/build/outputs/apk/release
- cp android/app/build/outputs/apk/release/*-signed.apk paperknife-v1.0.0.apk
75
+ cp android/app/build/outputs/apk/release/*-signed.apk "paperknife-v${VERSION}.apk"
76
+ echo "APP_VERSION=${VERSION}" >> $GITHUB_ENV
77
78
- name: Upload Signed APK
79
uses: actions/upload-artifact@v4
80
with:
- name: PaperKnife-Android-v1.0.0
- path: paperknife-v1.0.0.apk
81
+ name: PaperKnife-Android-v${{ env.APP_VERSION }}
82
+ path: paperknife-v${{ env.APP_VERSION }}.apk
83
if-no-files-found: error
84
compression-level: 0
0 commit comments