Added APK in artificats

This commit is contained in:
Ritesh Shukla
2025-04-10 19:55:46 +05:30
parent cedaf89d56
commit 379210eeba
2 changed files with 11 additions and 2 deletions
+10 -1
View File
@@ -46,7 +46,16 @@ jobs:
file_pattern: "ios/Jellify.xcodeproj/project.pbxproj"
- name: 🔢 Set artifact version numbers
run: mkdir artifacts && mv ./ios/Jellify.ipa ./artifacts/Jellify-${{ env.VERSION_NUMBER }}.ipa && mv ./android/app/build/outputs/apk/release/app-release.apk ./artifacts/Jellify-${{ env.VERSION_NUMBER }}.apk
run: |
# Move the iOS IPA
mv ./ios/Jellify.ipa ./artifacts/Jellify-${{ env.VERSION_NUMBER }}.ipa
# Move and rename all android release APKs
for apk in ./android/app/build/outputs/apk/release/*.apk; do
filename=$(basename "$apk")
newname="Jellify-${{ env.VERSION_NUMBER }}-${filename}"
cp "$apk" "./artifacts/$newname"
done
- name: 🎉 Create Github release
uses: ncipollo/release-action@v1