Skip to content

Release workflow: use the Release environment. #4

Release workflow: use the Release environment.

Release workflow: use the Release environment. #4

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
profile: minimal
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v1
- name: Publish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --manifest-path omniqueue/Cargo.toml