Skip to content

Commit 45f82d5

Browse files
committed
Add upload choice in pecl workflow
1 parent 7baaff9 commit 45f82d5

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/pecl.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ on:
4747
test-runner-args:
4848
description: 'Arguments for the test runner'
4949
required: false
50+
upload:
51+
type: choice
52+
options: ['true', 'false']
53+
description: Upload artifacts to the downloads server
54+
required: false
55+
default: 'true'
5056
jobs:
5157
get-extension-matrix:
5258
runs-on: ubuntu-latest
@@ -137,6 +143,7 @@ jobs:
137143
upload:
138144
runs-on: ubuntu-latest
139145
needs: artifact
146+
if: ${{ github.event.inputs.upload == 'true' }}
140147
steps:
141148
- name: Upload to downloads server
142149
run: |

0 commit comments

Comments
 (0)