From e273d453e2642aa2b900c19fc82bd53ddbc3cfdf Mon Sep 17 00:00:00 2001 From: Novus Nota <68142933+novusnota@users.noreply.github.com> Date: Wed, 17 Apr 2024 22:12:18 +0200 Subject: [PATCH] fix: Correctly source vars value --- .github/workflows/check-bundle-publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-bundle-publish.yml b/.github/workflows/check-bundle-publish.yml index fd70856..7e68d39 100644 --- a/.github/workflows/check-bundle-publish.yml +++ b/.github/workflows/check-bundle-publish.yml @@ -21,11 +21,12 @@ jobs: if [ -z "$FETCHED_HASH" ] || [ "${#FETCHED_HASH}" -ne 40 ]; then echo "Hash is either empty or of incorrect length"; exit 1 fi - # LAST_HASH="${{ vars.LAST_HASH }}" if [ "$FETCHED_HASH" == "$LAST_HASH" ]; then false # TODO: proper skip, which won't fail else echo "LAST_HASH=$FETCHED_HASH" >> "$GITHUB_ENV" fi + env: + LAST_HASH: ${{ vars.LAST_HASH }} bundle-publish: name: Extract and bundle the language server, then publish it @@ -36,8 +37,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: "16" - cache: yarn - registry: 'https://registry.npmjs.org' + cache: "yarn" + registry: "https://registry.npmjs.org" - name: Install dependencies run: yarn install --frozen-lockfile