-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57ba141
commit cb4e84e
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |