Skip to content

Commit

Permalink
add action so we tag the latest release
Browse files Browse the repository at this point in the history
  • Loading branch information
imnotjames committed May 25, 2020
1 parent 1129984 commit 0e1f924
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tag-latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add latest tag to new release
on:
release:
types: [published] # This makes it run only when a new released is 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
with:
tag-name: latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0e1f924

Please sign in to comment.