From a355f9db7d3fdb75284cc4c7e800759ecedca054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otakar=20Hir=C5=A1?= Date: Sat, 16 Mar 2024 17:07:34 +0100 Subject: [PATCH] fix: checkout only neccesary file v3 --- .github/workflows/publish-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-api.yaml b/.github/workflows/publish-api.yaml index dc0f669..b6b4e5b 100644 --- a/.github/workflows/publish-api.yaml +++ b/.github/workflows/publish-api.yaml @@ -14,7 +14,7 @@ jobs: uses: actions/checkout@v2 - name: Remove unnecessary files - run: rm -rf !(klabis-api-spec.yaml) + run: find . -type f ! -name 'klabis-api-spec.yaml' -exec rm -f {} + shell: bash - name: redoc-cli test