From b7c8013a539ee4d232cdd9934196deb0fd9accb6 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sun, 7 Jul 2024 22:49:09 +0200 Subject: [PATCH] Fix how the base64 key encoding happens in the test workflow --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5e7ce15..1946b8b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 }} @@ -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 }}