forked from github.com/blag
Update workflow, bump version, update changelog
This commit is contained in:
@@ -50,19 +50,18 @@ jobs:
|
||||
- run: |
|
||||
make venv
|
||||
- run: |
|
||||
make mypy
|
||||
|
||||
|
||||
test-release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: https://github.com/actions/checkout@v4
|
||||
- uses: https://github.com/actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
make test
|
||||
- run: |
|
||||
make venv
|
||||
make lint
|
||||
- run: |
|
||||
make mypy
|
||||
- run: |
|
||||
make test-release
|
||||
-
|
||||
name: Upload to PyPI
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.REGISTRY_USERNAME }}
|
||||
TWINE_PASSWORD: ${{ secrets.REGISTRY_TOKEN }}
|
||||
TWINE_REPOSITORY_URL: "https://gitea.raer.me/api/packages/freyjagp/pypi"
|
||||
run: |
|
||||
pipenv run python3 -m twine upload --verbose dist/*
|
||||
|
||||
Reference in New Issue
Block a user