v0.3.2 #2
Workflow file for this run
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: Package-Crates | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Switch branch | |
uses: actions/checkout@v2 | |
- name: Build crate | |
run: cargo build --verbose | |
- name: Test crate | |
run: cargo test --verbose | |
- name: Publish crate | |
run: cargo publish --token ${{ secrets.CRATES_TOKEN }} |