Skip to content

Commit 57f645f

Browse files
committed
Fix: attach APK to release on manual workflow_dispatch trigger
The 'Attach APK to Release' step was skipped on workflow_dispatch because it only ran on release events. Added a second attachment step that handles manual triggers with a release_tag input.
1 parent d77d34c commit 57f645f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-android.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,10 @@ jobs:
7979
uses: softprops/action-gh-release@v2
8080
with:
8181
files: FAIRWallet-*.apk
82+
83+
- name: Attach APK to Release (manual trigger)
84+
if: github.event_name == 'workflow_dispatch' && github.event.inputs.release_tag != ''
85+
uses: softprops/action-gh-release@v2
86+
with:
87+
tag_name: ${{ github.event.inputs.release_tag }}
88+
files: FAIRWallet-*.apk

0 commit comments

Comments
 (0)