Skip to content

Commit 16b8f4c

Browse files
committed
Don't run artefact generation on release, but rather on tag creation
1 parent f84c16f commit 16b8f4c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
- 'master'
77
- 'xdebug_*'
88
pull_request:
9-
release:
10-
types: [created]
119
create:
1210

1311
jobs:
@@ -101,7 +99,7 @@ jobs:
10199
runs-on: ubuntu-latest
102100
name: "PIE Release Artifacts"
103101
needs: windows
104-
if: ${{ github.event_name == 'release' }}
102+
if: ${{ github.ref_type == 'tag' }}
105103
steps:
106104
- name: Upload artifact to the release
107105
uses: php/php-windows-builder/release@v1

0 commit comments

Comments
 (0)