Skip to content

Commit

Permalink
fix deployment scripts (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejchm authored Jan 27, 2022
1 parent 5731327 commit 6278e62
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/deploy-firebase-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,6 @@ jobs:
with:
fetch-depth: 10

- name: check for changes in folders
run: >
echo "template-changes=$(git diff --quiet HEAD HEAD~1 --
starport_template && echo "false" || echo "true")" >> $GITHUB_ENV
- uses: subosito/flutter-action@v1
with:
flutter-version: '${{ env.FLUTTER_VERSION }}'
Expand All @@ -67,7 +62,7 @@ jobs:
run: flutter pub get

- name: set up ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/deploy-firebase-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ jobs:
with:
fetch-depth: 10

- name: check for changes in folders
run: |
echo "changes_starport_template=$(git diff --quiet HEAD HEAD~1 -- starport_template && echo "false" || echo "true")" >> $GITHUB_ENV
- uses: subosito/flutter-action@v1
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
Expand All @@ -71,7 +67,7 @@ jobs:
run: flutter pub get

- name: set up ruby
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ env.RUBY_VERSION }}

Expand Down
9 changes: 5 additions & 4 deletions starport_template/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ platform :ios do
team_id: ENV["MATCH_TEAM_ID"],
path: "Runner.xcodeproj"
)

increment_build_number(
build_number: ENV["GITHUB_RUN_NUMBER"]
)
if ENV["GITHUB_RUN_NUMBER"]
increment_build_number(
build_number: ENV["GITHUB_RUN_NUMBER"]
)
end

build_app(
workspace: "Runner.xcworkspace",
Expand Down

0 comments on commit 6278e62

Please sign in to comment.