Skip to content

Commit

Permalink
Merge pull request #22 from knownsec/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wh0am1i authored Jan 29, 2021
2 parents 5ddb00f + 3157a49 commit 02b82c0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Upload Python Package

on:
# workflow_dispatch
create:
tags:
- v*

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install -r requirements.txt
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='zoomeye',
version='2.0.3.1',
version='2.0.3.2',
description='Python library and command-line tool for ZoomEye (https://www.zoomeye.org/doc)',
long_description=README,
long_description_content_type='text/x-rst',
Expand Down

0 comments on commit 02b82c0

Please sign in to comment.