Skip to content

Add some more tests

Add some more tests #1

Workflow file for this run

name: Auto tagging when version updated on Cargo.toml
on:
push:
branches:
- main
paths:
- Cargo.toml
jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: salsify/action-detect-and-tag-new-version@v2
id: detect_tag
with:
create-tag: false
version-command: cargo read-manifest | jq -r .version
- uses: mathieudutour/[email protected]
with:
custom_tag: ${{ steps.detect_tag.outputs.current-version }}
github_token: ${{ secrets.CI_ACCESS_TOKEN }}
if: ${{ steps.detect_tag.outputs.previous-version != steps.detect_tag.outputs.current-version }}