This commit is contained in:
Joel Wachsler 2022-07-10 20:21:56 +00:00
parent 5d1052bd61
commit 6e664c020c

18
.github/workflows/tag.yml vendored Normal file
View File

@ -0,0 +1,18 @@
on:
push:
branches:
- 'main'
jobs:
tag:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Determine version
id: version
run: cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g'
- uses: Klemensas/action-autotag@stable
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
version: "${{ steps.previous_step.outputs.version }}"