generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 4
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
25e0826
commit d08a345
Showing
6 changed files
with
318 additions
and
318 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 |
---|---|---|
|
@@ -24,74 +24,74 @@ jobs: | |
APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }} | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
|
||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
|
||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
|
||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
|
||
- name: Pod install | ||
run: cd ./ios && pod install | ||
- name: Pod install | ||
run: cd ./ios && pod install | ||
|
||
- name: Update fastlane | ||
run: cd ./ios && bundle update fastlane | ||
- name: Update fastlane | ||
run: cd ./ios && bundle update fastlane | ||
|
||
- name: Update plugins | ||
run: cd ./ios && bundle exec fastlane update_plugins | ||
- name: Update plugins | ||
run: cd ./ios && bundle exec fastlane update_plugins | ||
|
||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
env: | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
env: | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
|
||
- name: Deploy to AppStore | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_production_app_store_connect_app | ||
- name: Deploy to AppStore | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_production_app_store_connect_app |
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 |
---|---|---|
|
@@ -24,74 +24,74 @@ jobs: | |
APP_STORE_CONNECT_API_KEY_BASE64: ${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }} | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
|
||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
|
||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
|
||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
|
||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
|
||
- name: Pod install | ||
run: cd ./ios && pod install | ||
- name: Pod install | ||
run: cd ./ios && pod install | ||
|
||
- name: Update fastlane | ||
run: cd ./ios && bundle update fastlane | ||
- name: Update fastlane | ||
run: cd ./ios && bundle update fastlane | ||
|
||
- name: Update plugins | ||
run: cd ./ios && bundle exec fastlane update_plugins | ||
- name: Update plugins | ||
run: cd ./ios && bundle exec fastlane update_plugins | ||
|
||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
env: | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
env: | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
|
||
- name: Deploy to TestFlight | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_testflight_production_app | ||
- name: Deploy to TestFlight | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_testflight_production_app |
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 |
---|---|---|
|
@@ -24,66 +24,66 @@ jobs: | |
APP_STORE_CONNECT_API_KEY_BASE64: ${{#mustacheCase}}secrets.APP_STORE_CONNECT_API_KEY_BASE64{{/mustacheCase}} | ||
GITHUB_RUN_NUMBER: $GITHUB_RUN_NUMBER | ||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
- name: Check out | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{#mustacheCase}}secrets.SSH_PRIVATE_KEY{{/mustacheCase}} | ||
- name: Install SSH key | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{#mustacheCase}}secrets.SSH_PRIVATE_KEY{{/mustacheCase}} | ||
|
||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
- name: Set up Flutter environment | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
channel: 'stable' | ||
flutter-version: '3.10.5' | ||
|
||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Generate new project | ||
run: | | ||
dart pub global activate mason_cli | ||
mason get | ||
mason make template -c mason-config.json | ||
# Move the generated project to the root directory for next steps & cleanup to not affect static code analysis | ||
rsync -av --remove-source-files flutter_templates/ ./ | ||
rm -rf bricks sample | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
- name: Get Flutter dependencies | ||
run: flutter pub get | ||
|
||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Set up Production env | ||
env: | ||
ENV: ${{ secrets.ENV }} | ||
run: | | ||
echo -e ENV >> .env | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
- name: Run code generator | ||
run: flutter packages pub run build_runner build --delete-conflicting-outputs | ||
|
||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
- name: Cache Ruby gems | ||
uses: actions/cache@v3 | ||
id: bunlderCache | ||
with: | ||
path: ios/vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | ||
restore-keys: ${{ runner.os }}-gems- | ||
|
||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
- name: Cache Pods | ||
uses: actions/cache@v3 | ||
id: cocoapodCache | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: ${{ runner.os }}-pods- | ||
|
||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
- name: Bundle install | ||
run: cd ./ios && bundle install | ||
|
||
- name: Pod install | ||
run: cd ./ios && pod install | ||
- name: Pod install | ||
run: cd ./ios && pod install | ||
|
||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
- name: Match AppStore | ||
run: cd ./ios && bundle exec fastlane sync_appstore_production_signing | ||
|
||
- name: Deploy to AppStore | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_production_app_store_connect_app | ||
- name: Deploy to AppStore | ||
run: | | ||
cd ./ios && bundle exec fastlane build_and_upload_production_app_store_connect_app |
Oops, something went wrong.