From 1b7676c50bb96ad8247b5bfbe9a7bec2c7fc7849 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 29 May 2024 14:05:22 -0500 Subject: [PATCH] move cd after kubectl --- .forgejo/workflows/schemas.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/schemas.yaml b/.forgejo/workflows/schemas.yaml index 79cf26f6..9199e584 100644 --- a/.forgejo/workflows/schemas.yaml +++ b/.forgejo/workflows/schemas.yaml @@ -93,6 +93,8 @@ jobs: let ++NUM_OF_CRDS done < <(kubectl get crds 2>&1 | sed -n '/NAME/,$p' | tail -n +2) echo numCRDs: $NUM_OF_CRDS + + cd $SCHEMAS_DIR # Download converter script curl https://raw.githubusercontent.com/yannh/kubeconform/master/scripts/openapi2jsonschema.py --output $TMP_CRD_DIR/openapi2jsonschema.py 2>/dev/null