mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-12-16 02:20:06 +01:00
fix: Fix release workflow
This commit is contained in:
6
.github/workflows/python-package.yaml
vendored
6
.github/workflows/python-package.yaml
vendored
@@ -5,7 +5,7 @@ name: Python package
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -31,13 +31,13 @@ jobs:
|
|||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
|
|
||||||
- name: Upload package to PyPI
|
- name: Upload package to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@v1.0.0
|
uses: pypa/gh-action-pypi-publish@v1
|
||||||
with:
|
with:
|
||||||
user: ${{ secrets.PYPI_USERNAME }}
|
user: ${{ secrets.PYPI_USERNAME }}
|
||||||
password: ${{ secrets.PYPI_PASSWORD }}
|
password: ${{ secrets.PYPI_PASSWORD }}
|
||||||
|
|
||||||
- name: Create GitHub release
|
- name: Create GitHub release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
dist/*
|
dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user