Skip to content

Commit

Permalink
chore: publish directly in release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 6, 2021
1 parent d098630 commit 30c37f6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 30 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/publish.yml

This file was deleted.

25 changes: 24 additions & 1 deletion .github/workflows/release-please.yml
Expand Up @@ -13,4 +13,27 @@ jobs:
with:
release-type: rust
package-name: rust-htslib
bump-minor-pre-major: Yes
bump-minor-pre-major: Yes

- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

- name: Install stable toolchain
if: ${{ steps.release.outputs.release_created }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install system dependencies
if: ${{ steps.release.outputs.release_created }}
run: |
sudo apt-get install --yes zlib1g-dev libbz2-dev musl musl-dev musl-tools clang libc6-dev
- uses: Swatinem/rust-cache@v1.3.0
if: ${{ steps.release.outputs.release_created }}

- uses: katyo/publish-crates@v1
if: ${{ steps.release.outputs.release_created }}
with:
registry-token: ${{ secrets.CRATES_IO_TOKEN }}

0 comments on commit 30c37f6

Please sign in to comment.