Add latest-tag to workflows

This commit is contained in:
Federico Grandi
2019-09-18 19:44:33 +02:00
parent bfea2358fe
commit 0f9f6c2d95
2 changed files with 20 additions and 2 deletions

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

@@ -0,0 +1,18 @@
name: Add latest tag to new release
on:
release:
types: [published]
jobs:
run:
name: Add/update tag to new release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- name: Run latest-tag
uses: EndBug/latest-tag@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}