add CHANGELOG.md and release ci #3
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: Cargo publish | |
on: | |
push: | |
branches: [master] | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Cargo login | |
run: cargo login ${{ secrets.CRATES_TOKEN }} | |
- name: Cargo publish | |
run: cargo publish |