Fix: Replace upload-artifact action with simple file copy (Gitea act compatibility)
Build Debug / Build Android Debug APK (push) Failing after 4m58s
Build UUVPN / Build Android APK (push) Successful in 3m15s
Build UUVPN / Cleanup old artifacts (push) Failing after 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled
Build Debug / Build Android Debug APK (push) Failing after 4m58s
Build UUVPN / Build Android APK (push) Successful in 3m15s
Build UUVPN / Cleanup old artifacts (push) Failing after 0s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled
This commit is contained in:
@@ -182,21 +182,13 @@ jobs:
|
||||
cd Android-kotlin-Code
|
||||
./gradlew assembleAlphaRelease --stacktrace
|
||||
|
||||
- name: List APK files
|
||||
run: |
|
||||
echo "Listing APK files..."
|
||||
find Android-kotlin-Code/app/build/outputs/apk -name "*.apk" -type f || echo "No APK files found"
|
||||
ls -la Android-kotlin-Code/app/build/outputs/apk/ || true
|
||||
|
||||
- name: Upload Android APK Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-apk-${{ github.sha }}
|
||||
path: |
|
||||
Android-kotlin-Code/app/build/outputs/apk/alpha/debug/*.apk
|
||||
Android-kotlin-Code/app/build/outputs/apk/alpha/release/*.apk
|
||||
retention-days: 30
|
||||
if-no-files-found: warn
|
||||
run: |
|
||||
# Copy APK to a known location for artifact upload
|
||||
mkdir -p /tmp/artifacts
|
||||
find Android-kotlin-Code/app/build/outputs/apk -name "*.apk" -type f -exec cp {} /tmp/artifacts/ \;
|
||||
ls -la /tmp/artifacts/
|
||||
echo "APK files copied to /tmp/artifacts"
|
||||
|
||||
- name: Get APK filename
|
||||
id: apk_name
|
||||
|
||||
Reference in New Issue
Block a user