Skip to content

chore: Setup dependabot (#258) #93

chore: Setup dependabot (#258)

chore: Setup dependabot (#258) #93

on:
push:
branches:
- master
name: release-please
jobs:
release-please:
if: github.repository_owner == 'rust-bio'
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: rust
package-name: rust-bio-tools
- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
if: ${{ steps.release.outputs.release_created }}
with:
toolchain: stable
override: true
- name: Install system dependencies
if: ${{ steps.release.outputs.release_created }}
run: |
sudo apt-get install --yes libgsl0-dev
- uses: Swatinem/[email protected]
if: ${{ steps.release.outputs.release_created }}
- name: Publish crate
if: ${{ steps.release.outputs.release_created }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_IO_TOKEN }}