From d8eaa51a78306054be85f8dd65a5e8291f3f7fea Mon Sep 17 00:00:00 2001 From: Sean Morley <98704938+seanmorley15@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:12:59 -0400 Subject: [PATCH] Create tag-latest.yml --- .github/workflows/tag-latest.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/tag-latest.yml diff --git a/.github/workflows/tag-latest.yml b/.github/workflows/tag-latest.yml new file mode 100644 index 0000000..3547183 --- /dev/null +++ b/.github/workflows/tag-latest.yml @@ -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