diff --git a/.github/workflows/Package.yml b/.github/workflows/Package.yml index 6ff4eb9..86447f6 100644 --- a/.github/workflows/Package.yml +++ b/.github/workflows/Package.yml @@ -8,6 +8,11 @@ on: required: false default: '3.10' type: string + requirements: + description: 'Python dependencies to be installed through pip.' + required: false + default: 'wheel' + type: string artifact: description: 'Name of the wheel artifact.' required: true @@ -30,8 +35,8 @@ jobs: - name: 🔧 Install dependencies for packaging and release run: | - python -m pip install --upgrade pip - pip install wheel + python -m pip install -U pip + python -m pip install ${{ inputs.requirements }} - name: 🔨 Build Python package (source distribution) run: python setup.py sdist