Create tag-latest.yml

This commit is contained in:
Sean Morley
2024-04-11 11:12:59 -04:00
committed by GitHub
parent d1371a9945
commit d8eaa51a78

19
.github/workflows/tag-latest.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Update Latest Tag
on:
release:
types: [published]
jobs:
update-latest-tag:
runs-on: ubuntu-latest
steps:
- name: Run latest-tag
uses: EndBug/latest-tag@latest
with:
# You can change the name of the tag or branch with this input. Default is 'latest'
ref: latest
# If a description is provided, the action will use it to create an annotated tag. If none is given, the action will create a lightweight tag.
description: Latest release
# Force-update a branch instead of using a tag. Default is false.
force-branch: true