Skip to content

Commit

Permalink
Streamlining CI/CD workflow for iOS Build and Release Process in Tala…
Browse files Browse the repository at this point in the history
…wa (#2266)

* testing automation

* testing automation

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

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

* changes

* changes

* changes
  • Loading branch information
Dante291 authored Dec 28, 2023
1 parent 2a27c0a commit c8c4cab
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
This may or may not be stable, so please have a look at the stable release(s).
iOS-Build:
name: Testing build for iOS
name: iOS Build and Relaese
runs-on: macos-latest
needs: Flutter-Testing
steps:
Expand All @@ -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.
# For actual distribution, proper code signing is required.

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

- name: Releasing for iOS
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-release.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).

0 comments on commit c8c4cab

Please sign in to comment.