Maybe this works
This commit is contained in:
parent
0b9c435b76
commit
bdf1944de4
8
.github/workflows/tag.yml
vendored
8
.github/workflows/tag.yml
vendored
|
@ -7,15 +7,9 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Determine version
|
|
||||||
id: determine-version
|
|
||||||
run: |
|
|
||||||
VERSION=$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g')
|
|
||||||
Write-Output "::set-output name=VERSION::$VERSION"
|
|
||||||
|
|
||||||
- uses: Klemensas/action-autotag@stable
|
- uses: Klemensas/action-autotag@stable
|
||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
version: "${{ steps.determine-version.outputs.VERSION }}"
|
version: "$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g')"
|
||||||
tag_prefix: "v"
|
tag_prefix: "v"
|
Loading…
Reference in New Issue
Block a user