mirror of
https://github.com/versia-pub/api.git
synced 2025-12-06 16:38:20 +01:00
fix: 🐛 Fix incorrect YAML
This commit is contained in:
parent
b4c2393e7f
commit
547a9e009e
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
run: bun run build
|
run: bun run build
|
||||||
|
|
||||||
- name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash
|
- name: Change version in package.json to ${{ github.event.inputs.version }}, defaulting to the truncated commit hash
|
||||||
run: sed -i "s/\"version\": \".*\"/\"version\": \"${{ github.event.inputs.version }}\"/" package.json
|
run: 'sed -i ''s/"version": ".*"/"version": "${{ github.event.inputs.version }}"/'' package.json'
|
||||||
|
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
run: bunx @morlay/bunpublish --provenance
|
run: bunx @morlay/bunpublish --provenance
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue