We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b956eec commit 773c796Copy full SHA for 773c796
1 file changed
.github/workflows/npm-publish.yml
@@ -54,9 +54,12 @@ jobs:
54
55
- run: npm version ${{ github.event.inputs.release_type }}
56
57
- - run: echo "versionTag=`npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}"`" >> $GITHUB_ENV
+ - run: echo "versionTag=$(npm version ${{ github.event.inputs.release_type }} -m "%s ${{ github.event.inputs.description }}")" >> $GITHUB_ENV
58
59
- - run: git commit -am "chore: update version"
+ # The error occurs because YAML is interpreting the -am flag as a nested mapping
60
+ # We can fix this by using the | multi-line syntax for the command
61
+ - run: |
62
+ git commit -am "chore: update version"
63
64
- run: bun install
65
0 commit comments