From c8e8fc0c77ef575fd5f9d13c6a863be022454240 Mon Sep 17 00:00:00 2001 From: case Date: Wed, 24 Jun 2020 01:49:11 -0600 Subject: [PATCH] testing secrets --- .github/workflows/main.yml | 7 ++++--- build.sh | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32dcb25..a2b06f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/build.sh b/build.sh index 182460b..2c11687 100755 --- a/build.sh +++ b/build.sh @@ -1 +1 @@ -echo $KEY_JKS | base64 --decode > key.jks && flutter build apk --release +echo "$KEY_JKS" | base64 --decode > key.jks && flutter build apk --release