Skip to content

Commit

Permalink
fix: Correctly source vars value
Browse files Browse the repository at this point in the history
  • Loading branch information
novusnota committed Apr 17, 2024
1 parent 8dadd8a commit e273d45
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-bundle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e273d45

Please sign in to comment.