Skip to content

Commit

Permalink
fix the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frostming committed Jun 30, 2022
1 parent a3a680c commit 62e1250
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,17 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- uses: actions/setup-python@v3
with:
python-version: "3.10"

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -25,6 +31,7 @@ jobs:
run: |
pip install build
python -m build
- name: Test Build
run: |
python3 -m venv fresh_env
Expand All @@ -34,7 +41,3 @@ jobs:
run: |
pip install twine
twine upload --username __token__ --password ${{ secrets.PYPI_TOKEN }} dist/*
- uses: actions/setup-node@v3
with:
node-version: 16.x

0 comments on commit 62e1250

Please sign in to comment.