Skip to content

Commit

Permalink
dev(hansbug): fix the release problem
Browse files Browse the repository at this point in the history
  • Loading branch information
HansBug committed Sep 19, 2022
1 parent 6d26844 commit ba3138a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,16 @@ jobs:
run: |
python -m build --sdist --wheel --outdir dist/
- name: Publish distribution 📦 to real PyPI
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_PASSWORD }}
packages_dir: dist/
skip_existing: true # remove this line when next time releasing
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: conf/*
file: dist/*
tag: ${{ github.ref }}
overwrite: true
file_glob: true

0 comments on commit ba3138a

Please sign in to comment.