Skip to content

Commit

Permalink
testing secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
case committed Jun 24, 2020
1 parent a8e8da1 commit c8e8fc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ jobs:
with:
java-version: '12.x'
- uses: subosito/flutter-action@v1
- run: flutter pub get
- run: flutter test
- name: flutter build apk
run: ./build.sh
env:
KEY_JKS: ${{ secrets.KEY_JKS }}
KEY_PASSWORD: ${{ secrets.ALIAS_PASSWORD }}
ALIAS_PASSWORD: ${{ secrets.KEY_PASSWORD }}
- run: flutter pub get
- run: flutter test
- run: ./build.sh
- name: Create Release
if: contains(github.ref, 'release')
id: create_release
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
echo $KEY_JKS | base64 --decode > key.jks && flutter build apk --release
echo "$KEY_JKS" | base64 --decode > key.jks && flutter build apk --release

0 comments on commit c8e8fc0

Please sign in to comment.