Skip to content

Commit

Permalink
Publish package from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
morinokami committed Jul 28, 2020
1 parent 9841968 commit c24de7a
Show file tree
Hide file tree
Showing 4 changed files with 191 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install pipenv
pipenv sync --dev
- 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/*
pipenv run python setup.py sdist bdist_wheel
pipenv run twine upload dist/*
3 changes: 3 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ flake8 = "*"
pre-commit = "*"
black = "==19.10b0"
responses = "*"
setuptools = "*"
wheel = "*"
twine = "*"

[requires]
python_version = "3.8"
Expand Down
193 changes: 183 additions & 10 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion remo/__version__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = "nature-remo"
__version__ = "0.2.0"
__version__ = "0.2.1"
__author__ = "Shinya Fujino"
__author_email__ = "[email protected]"
__license__ = "MIT"
Expand Down

0 comments on commit c24de7a

Please sign in to comment.