Skip to content

Commit ad2d254

Browse files
committed
fix: github.ref uses the fully-formed ref
1 parent 1b443c0 commit ad2d254

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ jobs:
6262
path: isomorphic-git-lightning-fs-0.0.0-development.tgz
6363

6464
- name: Publish to npm
65-
if: ${{ github.ref == 'beta'}}
66-
# if: ${{ github.ref == 'main' || github.ref_name == 'beta' }}
65+
if: ${{ github.ref == 'refs/heads/beta'}}
66+
# if: ${{ github.ref == 'refs/heads/main' || github.ref_name == 'refs/heads/beta' }}
6767
run: |
6868
npm run semantic-release
6969
env:

0 commit comments

Comments
 (0)