mirror of
https://github.com/danog/docker-php-extension-installer.git
synced 2024-11-30 04:29:15 +01:00
Fix
This commit is contained in:
parent
3d71d131cd
commit
b0c308eaa0
8
.github/workflows/readme-release.yml
vendored
8
.github/workflows/readme-release.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
if: >
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/test')
|
||||
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
|
||||
|| github.event_name == 'repository_dispatch'
|
||||
uses: actions/checkout@v2
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- name: Update README
|
||||
if: >
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/test')
|
||||
|| github.event_name == 'repository_dispatch'
|
||||
run: |
|
||||
./scripts/update-readme
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
fi
|
||||
- name: Look for the recent version tags
|
||||
if: >
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/master')
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/test')
|
||||
|| (github.event_name == 'create' && github.event.ref_type == 'tag')
|
||||
|| github.event_name == 'repository_dispatch'
|
||||
run: |
|
||||
@ -69,7 +69,7 @@ jobs:
|
||||
printf 'VERSIONTAG_LAST=%s\n' "$VERSIONTAG_LAST" >> "$GITHUB_ENV"
|
||||
printf 'VERSIONTAG_PENULTIMATE=%s\n' "$VERSIONTAG_PENULTIMATE" >> "$GITHUB_ENV"
|
||||
- name: Check if we need to create a version tag after a push
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/test'
|
||||
run: |
|
||||
VERSIONTAG_THIS=
|
||||
if test -z "$VERSIONTAG_LAST"; then
|
||||
|
Loading…
Reference in New Issue
Block a user