diff --git a/.github/workflows/release_deploy_play_store.yml b/.github/workflows/release_deploy_play_store.yml index 7a47fe7..bce2abd 100644 --- a/.github/workflows/release_deploy_play_store.yml +++ b/.github/workflows/release_deploy_play_store.yml @@ -31,17 +31,15 @@ jobs: channel: stable - run: flutter doctor -v - # Setup app + # Clone repository - name: Checkout Paperless mobile, get packages and run code generators uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c - - run: | - bash install_dependencies.sh - working-directory: scripts # Extract secrets into corresponding files - name: Configure Keystore run: | echo "$RELEASE_KEYSTORE" > upload-keystore.jks.asc + ll gpg --batch --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSPHRASE }}" -d -o upload-keystore.jks upload-keystore.jks.asc echo "storeFile=upload-keystore.jks" >> key.properties echo "keyAlias=$KEYSTORE_KEY_ALIAS" >> key.properties @@ -54,6 +52,12 @@ jobs: KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }} working-directory: android + # Run codegen + - name: Run Codegen + run: | + bash install_dependencies.sh + working-directory: scripts + # Setup Ruby, Bundler, and Gemfile dependencies - name: Setup Fastlane uses: ruby/setup-ruby@8df78e55761745aad83acaf3ff12976382356e6d