-
Notifications
You must be signed in to change notification settings - Fork 1
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
5f327ac
commit cceb842
Showing
10 changed files
with
40 additions
and
166 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 |
---|---|---|
|
@@ -31,16 +31,16 @@ runs: | |
|
||
- name: Build apk (dev) | ||
if: ${{ inputs.prod_release }} != 'true' | ||
run: flutter build apk --flavor development --release --build-name ${{ needs.version.outputs.version }} --build-number ${{ needs.version.outputs.build_version }} --target lib/main_development.dart | ||
run: flutter build apk --flavor development --release --build-name ${{ inputs.version }} --build-number ${{ inputs.build_version }} --target lib/main_development.dart | ||
shell: bash | ||
|
||
- name: Build appbundle (prod) | ||
if: ${{ inputs.prod_release }} == 'true' | ||
run: flutter build apk --flavor production --release --dart-define=IS_PROD=true --build-name ${{ needs.version.outputs.version }} --build-number ${{ needs.version.outputs.build_version }} --target lib/main_production.dart | ||
run: flutter build apk --flavor production --release --dart-define=IS_PROD=true --build-name ${{ inputs.version }} --build-number ${{ inputs.build_version }} --target lib/main_production.dart | ||
shell: bash | ||
|
||
- name: Upload Android build (dev) | ||
if: ${{ !!inputs.store_artifacts && ${{ inputs.prod_release }} != 'true' }} | ||
if: ${{ !!inputs.store_artifacts && inputs.prod_release != 'true' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: android | ||
|
@@ -49,7 +49,7 @@ runs: | |
if-no-files-found: error | ||
|
||
- name: Upload Android build (prod) | ||
if: ${{ !!inputs.store_artifacts && ${{ inputs.prod_release }} == 'true' }} | ||
if: ${{ !!inputs.store_artifacts && inputs.prod_release == 'true' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: android | ||
|
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
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 |
---|---|---|
@@ -1,18 +1,23 @@ | ||
name: Setup Flutter environment | ||
description: Setup the Flutter environment | ||
inputs: | ||
prod_release: | ||
required: false | ||
default: 'false' | ||
description: "Is prod release" | ||
|
||
env: | ||
FLUTTER_VERSION: 3.13.7 | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Setup Flutter environment | ||
uses: subosito/[email protected] | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: "stable" | ||
- name: Setup Flutter environment | ||
uses: subosito/[email protected] | ||
with: | ||
flutter-version: ${{ env.FLUTTER_VERSION }} | ||
channel: "stable" | ||
|
||
- name: Download dependencies | ||
run: flutter pub get | ||
shell: bash | ||
- name: Download dependencies | ||
run: flutter pub get | ||
shell: bash |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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