Skip to content

Commit 37fa7b4

Browse files
committed
check back ticks
1 parent 651cf9d commit 37fa7b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424
id: previous_version
2525
run: |
2626
PREV_VERSION=$(npm view ${{ github.repository }} version)
27-
echo "version=${PREV_VERSION}" >> $GITHUB_ENV
27+
echo "prev_version=${PREV_VERSION}" >> $GITHUB_ENV
2828
2929
- name: Check version change
3030
id: version_check
3131
run: |
32-
if [ "${{ env.version }}" != "${{ env.version }}" ]; then
32+
if [ "${{ env.version }}" != "${{ env.prev_version }}" ]; then
3333
echo "changed=true" >> $GITHUB_ENV
3434
else
3535
echo "changed=false" >> $GITHUB_ENV

0 commit comments

Comments
 (0)