Skip to content

Commit

Permalink
Fix publish workflow after recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
voczi authored and mikehardy committed Jun 25, 2024
1 parent b6c1fd3 commit bef936d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ jobs:

- name: Credential Prep
run: |
export KEYSTOREPATH=$HOME/src/android-keystore
echo "KEYSTOREPATH=$KEYSTOREPATH" >> $GITHUB_ENV
echo "KEYSTOREPATH=$HOME/src/android-keystore" >> $GITHUB_ENV
echo "KEYALIAS=nrkeystorealias" >> $GITHUB_ENV
echo "KEYSTOREPWD=${{ secrets.KEYSTORE_PASSWORD }}" >> $GITHUB_ENV
echo "KEYPWD=${{ secrets.KEYSTORE_KEY_PASSWORD }}" >> $GITHUB_ENV
mkdir ~/src
echo "${{ secrets.AMAZON_PUBLISH_CREDENTIALS }}" | base64 -d > ~/src/AnkiDroid-Amazon-Publish-Security-Profile.json.gz
echo "${{ secrets.GOOGLE_PUBLISH_CREDENTIALS }}" | base64 -d > ~/src/AnkiDroid-GCP-Publish-Credentials.json.gz
echo "${{ secrets.RELEASES_PUBLISH_TOKEN }}" | base64 -d > ~/src/my-github-personal-access-token.gz
echo "${{ secrets.KEYSTORE }}" | base64 -d > $KEYSTOREPATH.gz
gunzip $KEYSTOREPATH.gz
cd ~/src
echo "${{ secrets.AMAZON_PUBLISH_CREDENTIALS }}" | base64 -d > ./AnkiDroid-Amazon-Publish-Security-Profile.json.gz
echo "${{ secrets.GOOGLE_PUBLISH_CREDENTIALS }}" | base64 -d > ./AnkiDroid-GCP-Publish-Credentials.json.gz
echo "${{ secrets.RELEASES_PUBLISH_TOKEN }}" | base64 -d > ./my-github-personal-access-token.gz
echo "${{ secrets.KEYSTORE }}" | base64 -d > ./android-keystore.gz
gunzip *.gz
shell: bash

- name: Build and Release public release
Expand Down

0 comments on commit bef936d

Please sign in to comment.