From 1911deb1bb2f1f648676ff1ad17a2e7f57b390f9 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sun, 7 Jul 2024 23:05:46 +0200 Subject: [PATCH] Extract token --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}