This repository was archived by the owner on Nov 20, 2024. It is now read-only.
Update README.md (#97) #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a wheel and sdist and upload them as an artifact | |
name: Build wheel and sdist | |
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install flit | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flit | |
- name: Build | |
run: | | |
flit build | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: distribution | |
path: dist |