chore(ci): pass build number to Fastlane

This commit is contained in:
Jagandeep Brar
2022-03-31 15:54:59 -04:00
parent ef309a0e1b
commit a9ef0d84c6
4 changed files with 7 additions and 7 deletions

View File

@@ -83,7 +83,7 @@ jobs:
SUPPLY_JSON_KEY: ${{ github.workspace }}/.fastlane-android-auth.json
run: |
bundle install
bundle exec fastlane build
bundle exec fastlane build build_number:${{ inputs.build_number }}
- name: Upload App Bundle Artifact
uses: actions/upload-artifact@v2
@@ -130,4 +130,4 @@ jobs:
SUPPLY_JSON_KEY: ${{ github.workspace }}/.fastlane-android-auth.json
run: |
bundle install
bundle exec fastlane deploy track:${{ inputs.channel }} aab:${{ github.workspace }}/app-release.aab version_name:${{ github.sha }} build_number:${{ inputs.build_number }}
bundle exec fastlane deploy track:${{ inputs.channel }} aab:${{ github.workspace }}/app-release.aab version_name:${{ github.sha }}

View File

@@ -111,7 +111,7 @@ jobs:
MATCH_KEYCHAIN_PASSWORD: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }}
run: |
bundle install
bundle exec fastlane build
bundle exec fastlane build build_number:${{ inputs.build_number }}
- name: Upload App Package Artifact
uses: actions/upload-artifact@v2
@@ -163,4 +163,4 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: |
bundle install
bundle exec fastlane deploy groups:${{ inputs.channel }} ipa:${{ github.workspace }}/Runner.ipa build_number:${{ inputs.build_number }}
bundle exec fastlane deploy groups:${{ inputs.channel }} ipa:${{ github.workspace }}/Runner.ipa

View File

@@ -112,7 +112,7 @@ jobs:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
run: |
bundle install
bundle exec fastlane build
bundle exec fastlane build build_number:${{ inputs.build_number }}
- name: Upload App Package Artifact
uses: actions/upload-artifact@v2
@@ -164,4 +164,4 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
run: |
bundle install
bundle exec fastlane deploy groups:${{ inputs.channel }} pkg:${{ github.workspace }}/LunaSea.pkg build_number:${{ inputs.build_number }}
bundle exec fastlane deploy groups:${{ inputs.channel }} pkg:${{ github.workspace }}/LunaSea.pkg

View File

@@ -63,7 +63,7 @@ jobs:
- name: Build LunaSea
working-directory: ${{ github.workspace }}
run: |
flutter build web --web-renderer canvaskit --release --build-number=${{ inputs.build_number }}
flutter build web --web-renderer canvaskit --release
- name: Upload Web Build Artifact
uses: actions/upload-artifact@v2