Skip to content

Update dependency (#86) #36

Update dependency (#86)

Update dependency (#86) #36

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
jobs:
create-release:
name: Upload artifact
runs-on: ubuntu-latest
steps:
- id: create-release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref }}
draft: false
prerelease: false
generate_release_notes: true
publish-crates:
name: Publish crate
strategy:
matrix:
os: [ubuntu-latest]
toolchain: [stable]
needs: [create-release]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_TOKEN }}