Skip to content

ci: fix publish step check before tagging #22

ci: fix publish step check before tagging

ci: fix publish step check before tagging #22

Workflow file for this run

name: Release
on:
workflow_dispatch:
workflow_call:
push:
branches:
- fix-tagging-step-condition-check
permissions:
contents: write
pull-requests: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
dry-run: true
check-repo: false
no-verify: true
id: publish-crates
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#creating-majorminor-tags
- name: Tag versions
run: |
echo "Tagging versions"
echo "published: ${{ steps.publish-crates.outputs.published }}"
echo "conclusion: ${{ steps.publish-crates.conclusion }}"
echo "outcome: ${{ steps.publish-crates.outcome }}"