Skip to content

Commit

Permalink
Fix how the base64 key encoding happens in the test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Link- committed Jul 7, 2024
1 parent 92a7151 commit b7c8013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
./gh-token \
generate \
-i "$APP_ID" \
-b "$(echo $APP_PRIVATE_KEY | base64)" > /dev/null 2
-b $(printf "%s" $APP_PRIVATE_KEY | base64) > /dev/null 2
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
Expand All @@ -65,7 +65,7 @@ jobs:
./gh-token \
installations \
-i "$APP_ID" \
-b "$(echo $APP_PRIVATE_KEY | base64)" > /dev/null 2
-b $(printf "%s" $APP_PRIVATE_KEY | base64) > /dev/null 2
env:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
Expand Down

0 comments on commit b7c8013

Please sign in to comment.