Skip to content

change project name

change project name #2

Workflow file for this run

name: Release Stage Build
on:
push:
branches:
- update-workflow-for-pypi
permissions:
contents: write
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.11
- name: Install dependencies
run: sudo apt-get install make
- name: Create virtual environment
run: make venv
- name: Build package
run: |
set -x
source venv/bin/activate
rm -rf build dist *.egg-info
make build ENV=stage
- name: Install Twine
run: |
source venv/bin/activate
pip install twine
- name: Upload to PyPI
env:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: |
source venv/bin/activate
twine upload dist/* -u __token__ -p $PYPI_API_TOKEN