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

Streamlining CI/CD workflow for iOS Build and Release Process in Talawa #2266

Merged
merged 7 commits into from
Dec 28, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
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
24 changes: 24 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,27 @@ jobs:
architecture: x64
- name: Building for ios
run: flutter build ios --release --no-codesign
# '--no-codesign' is used for building without code signing.
Dante291 marked this conversation as resolved.
Show resolved Hide resolved
# For actual distribution, proper code signing is required.

Dante291 marked this conversation as resolved.
Show resolved Hide resolved
########################################################
## Package the app as an .ipa and create a release ##
########################################################

- name: Package .ipa file
run: |
mkdir Payload
cp -r build/ios/iphoneos/Runner.app Payload/Runner.app
zip -r app.ipa Payload
# This packages the Runner.app into an .ipa file

- uses: ncipollo/release-action@v1
with:
name: "Automated iOS Release"
artifacts: "app.ipa"
allowUpdates: "true"
generateReleaseNotes: false
tag: "automated"
body: |
This is an automated release, triggered by a recent push.
This may or may not be stable, so please have a look at the stable release(s).
24 changes: 24 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -235,3 +235,27 @@ jobs:
architecture: x64
- name: Building for ios
run: flutter build ios --release --no-codesign
# '--no-codesign' is used for building without code signing.
Dante291 marked this conversation as resolved.
Show resolved Hide resolved
# For actual distribution, proper code signing is required.

########################################################
## Package the app as an .ipa and create a release ##
########################################################

- name: Package .ipa file
run: |
mkdir Payload
cp -r build/ios/iphoneos/Runner.app Payload/Runner.app
zip -r app.ipa Payload
# This packages the Runner.app into an .ipa file

- uses: ncipollo/release-action@v1
with:
name: "Automated iOS Release"
artifacts: "app.ipa"
allowUpdates: "true"
generateReleaseNotes: false
tag: "automated"
body: |
This is an automated release, triggered by a recent push.
This may or may not be stable, so please have a look at the stable release(s).
Loading