difftreelog
Merge pull request #38 from bruno-delfino1995/cargo-release
in: master
Add job to publish to crates.io
1 file changed
.github/workflows/release.ymldiffbeforeafterboth20 command: test20 command: test21 args: --all21 args: --all2223 cargo-release:24 if: startsWith(github.ref, 'refs/tags/')25 needs: [test]26 runs-on: ubuntu-latest27 steps:28 - name: Checkout sources29 uses: actions/checkout@v230 - name: Install stable toolchain31 uses: actions-rs/toolchain@v132 with:33 toolchain: stable34 override: true35 - name: Install cargo release command36 uses: actions-rs/cargo@v137 with:38 command: install39 args: cargo-release40 - name: Run cargo login41 uses: actions-rs/cargo@v142 with:43 command: login44 args: ${{ secrets.CARGO_TOKEN }}45 - name: Publish crates46 uses: actions-rs/cargo@v147 with:48 command: release49 args: --no-dev-version --skip-push --skip-tag --no-confirm5022 release:51 github-release:23 if: startsWith(github.ref, 'refs/tags/')52 if: startsWith(github.ref, 'refs/tags/')24 needs: [test]53 needs: [test]25 strategy:54 strategy: