From 1cea9eff6e2d3ec1a4b3a3c491b1f098d787ae30 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 25 Mar 2024 11:49:19 -0400 Subject: [PATCH] Add correct directory to TGT_DIR in LAST_SPEC --- .github/workflows/ci-openapi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-openapi.yml b/.github/workflows/ci-openapi.yml index 79f046be83..8d497069b9 100644 --- a/.github/workflows/ci-openapi.yml +++ b/.github/workflows/ci-openapi.yml @@ -175,7 +175,7 @@ jobs: script_stop: false script: | TGT_DIR="/srv/repository/main/openapi" - LAST_SPEC="$( ls -lt ${TGT_DIR} | grep 'jellyfin-openapi' | head -1 | awk '{ print $NF }' )" + LAST_SPEC="$( ls -lt ${TGT_DIR}/unstable/ | grep 'jellyfin-openapi' | head -1 | awk '{ print $NF }' )" if ! diff /srv/incoming/openapi/unstable/jellyfin-openapi-${{ env.JELLYFIN_VERSION }}.json ${TGT_DIR}/unstable/${LAST_SPEC} &>/dev/null; then exit 0 fi