1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
name: Release on: release: types: [ created ] jobs: cargo: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - run: cargo build --release - run: cargo publish env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}