Skip to content

chore(deps): update actions/checkout action to v6.0.3 #695

chore(deps): update actions/checkout action to v6.0.3

chore(deps): update actions/checkout action to v6.0.3 #695

Workflow file for this run

name: Publish crates
on:
pull_request:
types: [ closed ]
branches: [ main ]
workflow_dispatch:
permissions: {}
jobs:
publish-crates:
if: (github.head_ref == 'knope/release' && github.event.pull_request.merged == true) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
environment: "crates.io"
permissions:
id-token: write
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: actions-rust-lang/setup-rust-toolchain@46268bd060767258de96ed93c1251119784f2ab6 # v1.16.1
- uses: rust-lang/crates-io-auth-action@bbd81622f20ce9e2dd9622e3218b975523e45bbe # v1.0.4
id: auth
- name: Install cargo-release
run: cargo install cargo-release
- run: cargo release publish --workspace --execute --no-confirm
env:
CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }}