Fix YAML syntax error in create-release workflow
The sed pattern with `*` on a single-line `run:` was interpreted as a YAML alias. Switch to a block scalar (`run: |`) to avoid this.
This commit is contained in:
@@ -42,7 +42,8 @@ jobs:
|
||||
run: go test -race ./...
|
||||
|
||||
- name: Update manifest.json version
|
||||
run: sed -i 's/"version": *"[^"]*"/"version": "${{ inputs.version }}"/' manifest.json
|
||||
run: |
|
||||
sed -i 's/"version": *"[^"]*"/"version": "${{ inputs.version }}"/' manifest.json
|
||||
|
||||
- name: Commit, tag, and push
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user