Skip to content

Bump versions (#559) #470

Bump versions (#559)

Bump versions (#559) #470

Workflow file for this run

name: release
on:
push:
branches:
- main
pull_request:
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
release:
runs-on: ubuntu-latest
environment: ${{ github.ref == 'refs/heads/main' && 'release' || 'test' }}
steps:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2
- uses: homebrew/actions/setup-homebrew@master
- run: tools/setup.sh
- run: cargo install cargo-workspaces
- run: cargo workspaces publish -y --from-git
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
if: github.ref == 'refs/heads/main'