another fix for action

This commit is contained in:
Alex Janka 2024-01-15 13:08:23 +11:00
parent b2118734d2
commit e964d323f3

View file

@ -6,13 +6,14 @@ on:
- main
jobs:
build:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: butlerlogic/action-autotag@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
regex_pattern: 'version ?= ?"([0-9\.]{5}([\+][\w\.0-9]+)?)"'
root: ./Cargo.toml
tag_prefix: "v"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"