superlint/.github/workflows/versioning.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2020-07-01 09:12:09 -04:00
---
#########################
#########################
## Version GitHub Tags ##
#########################
#########################
2020-07-01 09:12:09 -04:00
#
# Documentation:
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
#
##########################
# Name of the action job #
##########################
name: Keep GitHub tag versions up-to-date
#####################################################
# Run the job when a release is published or edited #
#####################################################
on:
release:
types: [published, edited]
2020-07-01 09:12:09 -04:00
#################
# Start the job #
#################
jobs:
actions-tagger:
runs-on: windows-latest
steps:
2020-07-01 09:12:09 -04:00
#############################
# Check out the latest code #
#############################
- uses: actions/checkout@v2.4.0
2020-07-01 09:12:09 -04:00
######################
# Run the tag action #
######################
- uses: Actions-R-Us/actions-tagger@v2.0.2
2020-06-29 12:36:18 -04:00
with:
publish_latest_tag: true
env:
GITHUB_TOKEN: "${{secrets.GITHUB_TOKEN}}"