Skip to content

feat: exporting downloaders from main file #48

feat: exporting downloaders from main file

feat: exporting downloaders from main file #48

Workflow file for this run

name: Development Pypi
on:
push:
branches:
- "dev"
jobs:
pypi:
name: Pypi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@master
with:
python-version: 3.9
- name: Creating Variable Outputs
id: vars
run: echo ::set-output name=commit::$(git rev-parse --short "$GITHUB_SHA")
- name: Checking folder
run: |
ls -la
- name: Create dist folder
run: |
export NHENTAI_ENVIRONMENT=dev
python setup.py sdist --dist-dir=./dev_dist
- name: Checking folder
run: |
ls
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dev_dist/