Skip to content

Commit 480ca24

Browse files
committed
Update auto publish apk
1 parent 374c579 commit 480ca24

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/flutter_ci_cd.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,11 @@ jobs:
4343
uses: actions/upload-artifact@v4
4444
with:
4545
name: android-release-apk
46-
path: build/app/outputs/flutter-apk/app-release.apk
46+
path: build/app/outputs/flutter-apk/app-release.apk
47+
48+
- name: Create Release and Upload APK
49+
uses: softprops/action-gh-release@v2
50+
with:
51+
files: build/app/outputs/flutter-apk/app-release.apk
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Use the default GITHUB_TOKEN

0 commit comments

Comments
 (0)