Skip to content

Commit ab0574a

Browse files
committed
build: fix env not injected in github actions
1 parent cf72589 commit ab0574a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ jobs:
3232
- name: "Get dependencies"
3333
run: flutter pub get
3434
- name: "Build"
35+
env:
36+
WAKABOARD_CLIENT_SECRET: ${{ secrets.WAKABOARD_CLIENT_SECRET }}
3537
run: |
3638
dart run build_runner build --delete-conflicting-outputs
37-
flutter build apk --split-per-abi --dart-define WAKABOARD_CLIENT_SECRET=${WAKABOARD_CLIENT_SECRET}
39+
flutter build apk --split-per-abi --dart-define WAKABOARD_CLIENT_SECRET="$WAKABOARD_CLIENT_SECRET"
3840
- name: Release
3941
uses: softprops/action-gh-release@v1
4042
with:

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
1616
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
1717
# In Windows, build-name is used as the major, minor, and patch parts
1818
# of the product and file versions while build-number is used as the build suffix.
19-
version: 0.0.2+2
19+
version: 0.1.1+3
2020

2121
environment:
2222
sdk: ">=3.0.6 <4.0.0"

0 commit comments

Comments
 (0)