diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e75887..629a21e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,7 +75,7 @@ jobs: - name: Generate then revoke token run: | echo "$APP_PRIVATE_KEY" > private_key.pem - token="$(./gh-token generate -i $APP_ID -k private_key.pem)" + token="$(./gh-token generate -i $APP_ID -k private_key.pem | jq -r '.token')" ./gh-token revoke -t $token env: APP_ID: ${{ secrets.APP_ID }}