Skip to content

Make version 0.1.0

Make version 0.1.0 #21

Workflow file for this run

name: faces-PyJs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:
# Step 1: Check out the repository
- name: Checkout repository
uses: actions/checkout@v2
# Step 2: Set up Python environment
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11.x'
# Step 3: Print Python version and pip version
- name: Print Python version
run: |
python --version
pip --version
# Step 4: Install dependencies
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Step 5: Install build tools
- name: Install build tools
run: |
python -m pip install --upgrade build hatchling
# Step 6: Build distribution files
- name: Build distribution
run: |
python -m build
# Step 7: List distribution files
- name: List distribution files
run: |
ls -l dist
# Step 8: Install twine
- name: Install twine
run: |
python -m pip install --upgrade twine
# Step 9: Upload to Test PyPI
- name: Upload
env:
TWINE_USERNAME: ${{ secrets.USERNAME }}
TWINE_PASSWORD: ${{ secrets.API_KEY }}
run: |
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose