mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 21:38:22 +01:00
Use on published release to trigger a new release on rector-prefixed
This commit is contained in:
parent
8f8d44b527
commit
b7ecbf66d4
7
.github/workflows/rector_phar.yml
vendored
7
.github/workflows/rector_phar.yml
vendored
@ -5,8 +5,9 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
tags:
|
||||
- "**"
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
jobs:
|
||||
compile_and_deploy_rector_phar:
|
||||
@ -36,7 +37,7 @@ jobs:
|
||||
|
||||
-
|
||||
name: ''
|
||||
if: github.event_name == 'push'
|
||||
if: github.event_name == 'push' || github.event_name == 'release'
|
||||
run: |
|
||||
[[ $GITHUB_REF == refs/tags/* ]] && CURRENT_TAG=${GITHUB_REF#refs/tags/} || CURRENT_TAG=""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user