fix: update with end_line
out of range (#48)
#29
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: ["main"] | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | |
jobs: | |
publish: | |
if: "startsWith(github.event.head_commit.message, 'chore(release): publish')" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: rustup update nightly-2022-11-03 && rustup default nightly-2022-11-03 | |
- name: publish | |
run: cargo publish |