Merge pull request #31 from COMBINE-lab/develop #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
name: release-please | |
jobs: | |
release-please: | |
if: github.repository_owner == 'COMBINE-lab' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: GoogleCloudPlatform/release-please-action@v3 | |
id: release_libradicl | |
with: | |
release-type: rust | |
package-name: libradicl | |
path: . | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
if: ${{ steps.release_libradicl.outputs.release_created }} | |
with: | |
toolchain: stable | |
override: true | |
- uses: Swatinem/[email protected] | |
if: ${{ steps.release_libradicl.outputs.release_created }} | |
- name: Publish libradicl | |
if: ${{ steps.release_libradicl.outputs.release_created }} | |
uses: actions-rs/cargo@v1 | |
with: | |
command: publish | |
args: --token ${{ secrets.CRATES_IO_TOKEN }} |