Skip to content

Commit de2b813

Browse files
authored
Merge pull request #74 from REST-API-Client/fix/cicd-workflow-syntax
fix(ci): fix YAML syntax errors in release workflow
2 parents 14d1e8e + c0c2896 commit de2b813

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cicd.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release:
1010
runs-on: ubuntu-latest
11-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
11+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
1212

1313
permissions:
1414
contents: write
@@ -31,7 +31,8 @@ jobs:
3131
git config user.email "github-actions[bot]@users.noreply.github.com"
3232
3333
- name: Bump version
34-
run: npm version patch -m "chore: release v%s [skip ci]"
34+
run: |
35+
npm version patch -m "chore: release v%s [skip ci]"
3536
3637
- name: Push version bump and tag
3738
run: git push origin main --follow-tags
@@ -43,6 +44,6 @@ jobs:
4344
run: vsce package
4445

4546
- name: Publish to marketplace
46-
run: vsce publish -p $PERSONAL_ACCESS_TOKEN
47+
run: vsce publish -p "$PERSONAL_ACCESS_TOKEN"
4748
env:
4849
PERSONAL_ACCESS_TOKEN: ${{ secrets.VSCE_PAT }}

0 commit comments

Comments
 (0)