Updated ref check (#3)
* Fixed formatting on if statement for deploy job
This commit is contained in:
parent
2295b1095c
commit
bf5536636f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/package.yaml
vendored
2
.github/workflows/package.yaml
vendored
|
|
@ -148,7 +148,7 @@ jobs:
|
|||
packages: write
|
||||
contents: read
|
||||
|
||||
if: contains('refs/heads/master', github.ref) || ${{ github.ref }} =~ ^refs\/tags\/v.*
|
||||
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue