-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update envfile creation in GitHub workflows
- Loading branch information
1 parent
a940299
commit 0efd68e
Showing
2 changed files
with
6 additions
and
10 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 |
---|---|---|
|
@@ -9,10 +9,8 @@ jobs: | |
with: | ||
channel: beta | ||
cache: true | ||
# Not needed for tests but pubspec.yaml requires it | ||
- name: Make envfile | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_API_URL: ${{ secrets.API_URL }} | ||
run: echo "API_URL=${{ secrets.API_URL }}" > .env | ||
|
||
- run: flutter test |
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 |
---|---|---|
|
@@ -21,15 +21,13 @@ jobs: | |
cache: true | ||
|
||
- name: Make envfile | ||
uses: SpicyPizza/[email protected] | ||
with: | ||
envkey_API_URL: ${{ secrets.API_URL }} | ||
|
||
- name: Run Tests | ||
run: flutter test | ||
run: echo "API_URL=${{ secrets.API_URL }}" > .env | ||
|
||
- name: Install dependencies | ||
run: flutter pub get | ||
|
||
- name: Run Tests | ||
run: flutter test | ||
|
||
# 404.html and flutter_bootstrap.js are mannually added to the web folder to | ||
# fix the 404 error on GH Pages and fix PWA Padding issue | ||
|