-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Showing
3 changed files
with
40 additions
and
45 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
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 |
---|---|---|
|
@@ -16,8 +16,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Call Commit workflow to setup workspace | ||
- uses: ./.github/workflows/commit.yml | ||
# Call setup_env workflow to setup workspace | ||
- uses: ./.github/workflows/setup_env.yml | ||
|
||
# Generate keystore | ||
- uses: timheuer/[email protected] | ||
|
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,33 @@ | ||
name: Setup ENV | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
setup_env: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# Setup the Java environment. | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: ${{vars.JAVA_VERSION}} | ||
cache: 'gradle' | ||
|
||
# Setup the Flutter environment. | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
channel: ${{vars.FLUTTER_CHANNEL}} | ||
cache: true | ||
|
||
# No dart analytics. | ||
- run: dart --disable-analytics | ||
|
||
# No flutter analytics. | ||
- run: flutter config --disable-analytics | ||
|
||
# Get flutter dependencies. | ||
- run: flutter pub get |