Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 7c02cdc

Browse files
authored
Update import_packages.yml
1 parent 01fcbc7 commit 7c02cdc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/import_packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ name: Sync vector DB
22

33
on:
44
workflow_dispatch:
5-
5+
inputs:
6+
enable_artifact_download:
7+
description: 'Enable artifact download step'
8+
required: false
9+
default: 'false' # Default value can be 'true' or 'false'
610
jobs:
711
# This workflow contains a single job called "greet"
812
sync_db:
@@ -26,6 +30,7 @@ jobs:
2630
git lfs pull
2731
2832
- name: Download artifact
33+
if: ${{ github.event.inputs.enable_artifact_download == 'true' }}
2934
id: download-artifact
3035
uses: dawidd6/action-download-artifact@v6
3136
with:

0 commit comments

Comments
 (0)