Skip to content

Box Dataset Info

Box Dataset Info #3

name: Box Dataset Info
on:
workflow_dispatch:
inputs:
dataset_name:
description: "Name of the dataset to inspect (leave empty to list all)"
required: false
default: ""
jobs:
box-info:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
which python
python --version
which pip
python -m pip install --upgrade pip
python -m pip install "boxsdk[jwt]"
python -c "import sys; print(sys.path)"
python -c "import boxsdk; print(f'boxsdk version: {boxsdk.__version__}')"
- name: Run Box Info Script
env:
BOX_CLIENT_SDK_CONFIG: ${{ secrets.BOX_CLIENT_SDK_CONFIG }}
BOX_FOLDER_ID: ${{ secrets.BOX_MEG_DATA_PARENT_FOLDER_ID }}
run: |
python pipeline/box_info/get_box_dataset_info.py \
--box-folder-id "$BOX_FOLDER_ID" \
--dataset-name "${{ github.event.inputs.dataset_name }}"