diff options
author | Marco Ieni <11428655+MarcoIeni@users.noreply.github.com> | 2020-12-23 12:31:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-23 11:31:57 +0000 |
commit | 5e39a0e4dde2e010b13cb0d9cf01212e6910de4f (patch) | |
tree | 85f5fbf61c3239e618c97680eacbb68c844e70a3 /.github | |
parent | 0615e2ad1f73922c52a30bdb4eb153476984582d (diff) |
automatically publish to crates.io on tag (#419)
* automatically publish to crates.io on tag
* Update cd.yml
Add newline
Co-authored-by: Dan Davison <dandavison7@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cd.yml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 3f614be6..101928d5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -66,12 +66,27 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - bump: + publish-to-cargo: + name: Publishing to Cargo + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + - uses: actions-rs/cargo@v1 + with: + command: publish + args: --token ${{ secrets.CARGO_API_KEY }} --allow-dirty + + bump-homebrew-formula: runs-on: macos-latest steps: - name: Checkout repository uses: actions/checkout@v2 - - name: Bump brew formulae + - name: Bump Homebrew formulae uses: dawidd6/action-homebrew-bump-formula@v3 with: formula: git-delta |