ci: Change event from published to released
This commit is contained in:
parent
6a16840a86
commit
5d8b0b2005
1 changed files with 12 additions and 14 deletions
6
.github/workflows/update-major-tag.yml
vendored
6
.github/workflows/update-major-tag.yml
vendored
|
|
@ -2,17 +2,15 @@ name: Update major tag
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [released]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Update major tag
|
- name: Update major tag
|
||||||
if: github.event.release.prerelease == false
|
|
||||||
run: |
|
run: |
|
||||||
git config user.name "${GITHUB_ACTOR}"
|
git config user.name "${GITHUB_ACTOR}"
|
||||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue