fix: metadata upload is conditional (#64894)
This commit is contained in:
2
.github/workflows/publish_connectors.yml
vendored
2
.github/workflows/publish_connectors.yml
vendored
@@ -154,6 +154,7 @@ jobs:
|
||||
|
||||
- name: Upload connector metadata [On merge to master]
|
||||
id: upload-connector-metadata-master
|
||||
if: github.event_name == 'push'
|
||||
shell: bash
|
||||
run: ./poe-tasks/upload-connector-metadata.sh --name ${{ matrix.connector }} --main-release
|
||||
env:
|
||||
@@ -194,6 +195,7 @@ jobs:
|
||||
|
||||
- name: Upload connector metadata [Manual]
|
||||
id: upload-connector-metadata-manual
|
||||
if: github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call'
|
||||
shell: bash
|
||||
run: ./poe-tasks/upload-connector-metadata.sh --name ${{ matrix.connector }} ${{ inputs.publish-options }}
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user