Skip to content

Build and Publish DraftGPT Package #2

Build and Publish DraftGPT Package

Build and Publish DraftGPT Package #2

Workflow file for this run

name: Build DraftGPT Package
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel
- name: Build package
run: |
python -m pip install --upgrade build
python -m build
- name: Verify build
run: |
ls dist/
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: drafgpt-package
path: dist/