Skip to content

Commit

Permalink
ci: fix keyfile path
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Oct 25, 2023
1 parent 0c17c44 commit 35abcc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:

- name: 🔨 Generate certificate
run: |
mkdir -p $(dirname $SIGNING_KEYSTORE_FILE)
echo "SIGNING_KEYSTORE_FILE=$(readlink -f $SIGNING_KEYSTORE_FILE)" >> $GITHUB_ENV
echo $SIGNING_KEYSTORE_FILE_CONTENT | base64 -di > $SIGNING_KEYSTORE_FILE
keystore_file=$(realpath --relative-to="./app" "$SIGNING_KEYSTORE_FILE")
echo $keystore_file
SIGNING_KEYSTORE_FILE="$keystore_file" ./gradlew build
env:
SIGNING_KEYSTORE_FILE_CONTENT: ${{ secrets.SIGNING_KEYSTORE_FILE }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: 🔨 Generate certificate
if: env.SKIP_RELEASE == 'no'
run: |
mkdir -p $(dirname $SIGNING_KEYSTORE_FILE)
echo "SIGNING_KEYSTORE_FILE=$(readlink -f $SIGNING_KEYSTORE_FILE)" >> $GITHUB_ENV
echo $SIGNING_KEYSTORE_FILE_CONTENT | base64 -di > $SIGNING_KEYSTORE_FILE
keystore_file=$(realpath --relative-to="./app" "$SIGNING_KEYSTORE_FILE")
echo $keystore_file
SIGNING_KEYSTORE_FILE="$keystore_file" ./gradlew build
env:
SIGNING_KEYSTORE_FILE_CONTENT: ${{ secrets.SIGNING_KEYSTORE_FILE }}

Expand Down

0 comments on commit 35abcc9

Please sign in to comment.