From aad753de68aeedc916ab3e91fe8b5efd902c2f2b Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 23 Aug 2021 15:57:56 +0200 Subject: [PATCH] ci: fix extraction of generated client Signed-off-by: Jens Langhammer --- .github/workflows/web-api-publish.yml | 3 ++- schema.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/web-api-publish.yml b/.github/workflows/web-api-publish.yml index 15105af1a..64d0f627a 100644 --- a/.github/workflows/web-api-publish.yml +++ b/.github/workflows/web-api-publish.yml @@ -26,7 +26,8 @@ jobs: - name: Upgrade /web run: | cd web/ - npm i @goauthentik/api@${node -e 'console.log(require("../web-api/package.json").version)'} + export VERSION=`node -e 'console.log(require("../web-api/package.json").version)'` + npm i @goauthentik/api@$VERSION - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: diff --git a/schema.yml b/schema.yml index f710cf071..271547231 100644 --- a/schema.yml +++ b/schema.yml @@ -30675,4 +30675,3 @@ components: type: apiKey in: cookie name: Session -