Skip to content

Commit 1c592bd

Browse files
authored
Update android.yml
try to put apk in the release too.
1 parent efceadf commit 1c592bd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/android.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,12 @@ jobs:
3636
with:
3737
name: app-debug
3838
path: "**/build/outputs/apk/debug/*.apk"
39-
39+
40+
- name: Create Release and Upload APK
41+
if: startsWith(github.ref, 'refs/tags/')
42+
uses: softprops/action-gh-release@v2
43+
with:
44+
files: "**/build/outputs/apk/debug/*.apk"
45+
generate_release_notes: true
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)