From 71b31a28125b2aae43e841ebb73f13ff154244c0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 9 May 2021 16:06:27 +0200 Subject: [PATCH] ci: fix web api client not being generated before docker build Signed-off-by: Jens Langhammer --- .github/workflows/tag.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 293289567..d2160ddd3 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -11,6 +11,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master + - name: prepare ts api client + run: | + docker run --rm -v $(pwd):/local openapitools/openapi-generator-cli generate -i /local/swagger.yaml -g typescript-fetch -o /local/web/api --additional-properties=typescriptThreePlus=true,supportsES6=true,npmName=authentik-api,npmVersion=1.0.0 - name: Pre-release test run: | sudo apt-get install -y pwgen