Skip to content

Add final to workflow.yaml #13

Add final to workflow.yaml

Add final to workflow.yaml #13

Workflow file for this run

name: faces-PyJs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
# check out the repository
- name: Checkout repository
uses: actions/checkout@v4
# set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11.x'
# install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
#build dist files
- name: Build distribution
run: |
python3 setup.py sdist bdist_wheel
#upload
- name: Upload
env:
TWINE_USERNAME: ${{ secrets.USERNAME }}
TWINE_PASSWORD: ${{ secrets.API_KEY }}