Skip to content

Publish Crate

Publish Crate #103

Workflow file for this run

on:
create:
tags:
- 'v*'
name: Publish Crate
jobs:
publish:
name: Deploy a new version of RSpotify to crate.io
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Release
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
shell: bash
run: |
# Publishing crates
"${GITHUB_WORKSPACE}/tools/publish.sh"