ci(release): fix argument parsing of npm exec

This commit is contained in:
Palm 2023-03-26 23:00:37 +07:00
parent d1c12edd1b
commit d214a02abd

View File

@ -54,7 +54,7 @@ jobs:
- name: Setup semantic-release - name: Setup semantic-release
run: npm ci run: npm ci
- name: Get release version - name: Get release version
run: npm exec semantic-release --dry-run run: npm exec -- semantic-release --dry-run
id: get-next-version id: get-next-version
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}