archinstall/.github/workflows/python-build.yml

26 lines
632 B
YAML

# This workflow will build Python packages on every commit.
name: Build archinstall
on: [ push, pull_request ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build archinstall
run: |
python -m build . --wheel
- uses: actions/upload-artifact@v3
with:
name: archinstall
path: dist/*