Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cd with Github Actions for Android #59

Merged
merged 4 commits into from
Mar 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add cd with Github Actions
natsuk4ze committed Mar 13, 2024

Unverified

This user has not yet uploaded their public signing key.
commit 078845f19ba7778b484362f084cc2d7e0ef72d7f
23 changes: 21 additions & 2 deletions .github/workflows/ci.yml → .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: CI/CD

on:
push:
@@ -58,4 +58,23 @@ jobs:

- name: Build Android
timeout-minutes: 10
run: flutter build appbundle
run: flutter build appbundle

- name: Archive Android Build
run: zip -r build/app/outputs/bundle/release/app-release.aab.zip build/app/outputs/bundle/release/app-release.aab

- name: Upload Android Build Artifact
uses: actions/upload-artifact@v4
with:
name: android-app
path: build/app/outputs/bundle/release/app-release.aab.zip

- name: Archive iOS Build
run: tar -czvf build/ios/iphoneos/app.ipa.tar.gz build/ios/iphoneos/app.ipa

- name: Upload iOS Build Artifact
uses: actions/upload-artifact@v4
with:
name: ios-app
path: build/ios/iphoneos/app.ipa.tar.gz