Files
PSO/.github/workflows/pypi.yml
jung-geun 99b1de3f82 23-07-21
pypi 0.1.4 업데이트
keras 의 메모리 누수를 어느정도 해결했으나 아직 완벽히 해결이 되지 않음
입력 데이터를 tensor 형태로 변환해주어 넣는 방식으로 전환
2023-07-21 15:20:24 +09:00

29 lines
735 B
YAML

name: PyPI package
on: [push]
jobs:
build-linux:
runs-on: ubuntu-22.04
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py bdist_wheel sdist
twine upload dist/*.whl dist/*.tar.gz