Skip to content

packages

packages #4

Workflow file for this run

name: packages
# When the 'permissions' key is specified, unspecified permission scopes (e.g.,
# actions, checks, etc.) are set to no access (none).
permissions:
contents: read
on:
workflow_dispatch:
inputs:
# When git-ref is empty, HEAD will be checked out.
git-ref:
description: Optional git ref (branch, tag, or full SHA)
required: false
jobs:
packages:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Clone
uses: actions/checkout@v4
with:
# When the ref is empty, HEAD will be checked out.
ref: ${{ github.event.inputs.git-ref }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Dependencies
run: python -m pip install --upgrade pip setuptools wheel
- name: Build
run: |
python setup.py sdist
python setup.py bdist_wheel --universal
- name: Upload
uses: actions/upload-artifact@v4
with:
name: packages
path: ./dist