Skip to content

Commit

Permalink
chore: setup cd pipelines (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
markgravity committed May 20, 2021
1 parent 57ba141 commit cb4e84e
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions .github/workflows/release_staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# This is a lint and test workflow for Flutter CI

name: Relase (staging )

# on:
# push:
# branches:
# - develop
# pull_request:
# branches:
# - develop
on:
pull_request:
jobs:
# build_ios:
# name: Build Flutter (ios)
# runs-on: macOS-latest
# steps:
# # Setup Java environment in order to build the Android app.
# - uses: actions/[email protected]
# - uses: actions/setup-java@v1
# with:
# java-version: '12.x'
#
# # Setup the Flutter environment.
# - uses: subosito/flutter-action@v1
# with:
# channel: 'stable' # 'dev', 'alpha', default to: 'stable'
# # flutter-version: '1.12.x' # uncomment this to specify the exact version of Flutter
#
# - name: Get Flutter dependencies.
# run: flutter pub get
#
# - name: Build app
# run: flutter build ios --flavor staging -t lib/main-staging.dart --no-codesign
#
# - name: Upload iPA
# uses: actions/upload-artifact@master
# with:
# name: ios-build
# path: build/ios/iphoneos
deploy_ios:
name: Upload to Firebase App Distribution
# needs: [build_ios]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Download Artifact
uses: actions/[email protected]
with:
name: ios-build
- name: Upload IPA
uses: wzieba/[email protected]
with:
appId: ${{secrets.FIREBASE_IOS_APP_ID}}
token: ${{secrets.FIREBASE_TOKEN}}
group: testers
file: Runner.ipa

0 comments on commit cb4e84e

Please sign in to comment.