Skip to content

quil-cli 0.6.0-rc.3 (2024-10-11) #254

quil-cli 0.6.0-rc.3 (2024-10-11)

quil-cli 0.6.0-rc.3 (2024-10-11) #254

Workflow file for this run

name: Publish quil-rs
on:
release:
types: [published]
workflow_dispatch:
description: "Manually publish release"
jobs:
is-quil-rs-release:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || startswith(github.event.release.tag_name, 'quil-rs/v') }}
steps:
- run: echo "release tag starts with quil-rs/v, proceeding with release"
release:
runs-on: ubuntu-latest
needs: is-quil-rs-release
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- run: cargo publish --manifest-path=quil-rs/Cargo.toml --token ${{ secrets.CRATES_IO_TOKEN }}