AdventureLog v0.2.0 #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Latest Tag | |
on: | |
release: | |
types: [published] | |
jobs: | |
update-latest-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Git user | |
run: | | |
git config user.name "${{ github.actor }}" | |
git config user.email "${{ github.actor }}@users.noreply.github.com" | |
- 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 |