Skip to content

Commit

Permalink
github.ref instead of github.event.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
zapplecat committed Jul 13, 2023
1 parent 2049eb5 commit bd0c8f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
pypi-publish:
name: Publish release to PyPI
if: startsWith(github.event.ref, 'refs/tags/python')
if: startsWith(github.ref, 'refs/tags/python')
runs-on: ubuntu-latest
environment:
name: pypi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
npm-publish:
name: Publish release to npmjs
if: startsWith(github.event.ref, 'refs/tags/typescript')
if: startsWith(github.ref, 'refs/tags/typescript')
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down

0 comments on commit bd0c8f9

Please sign in to comment.