We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 976248e commit a807904Copy full SHA for a807904
1 file changed
.github/workflows/release.yml
@@ -58,7 +58,7 @@ jobs:
58
uses: actions/upload-artifact@v4
59
with:
60
name: android-release
61
- path: clock-android/app/build/outputs/apk/release/app-release.apk
+ path: clock-android/app/build/outputs/apk/release/*.apk
62
63
create-release:
64
needs: [build-windows, build-android]
@@ -76,8 +76,14 @@ jobs:
76
77
78
79
- - name: Rename APK
80
- run: mv app-release.apk clock.apk
+ - name: Find and Rename APK
+ run: |
81
+ APK_FILE=$(find . -name "*.apk" | head -n 1)
82
+ if [ -z "$APK_FILE" ]; then
83
+ echo "No APK found!"
84
+ exit 1
85
+ fi
86
+ mv "$APK_FILE" clock.apk
87
88
- name: Create Release
89
uses: softprops/action-gh-release@v2
0 commit comments