Skip to content

Commit

Permalink
Update release-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fizxmike authored Jul 20, 2024
1 parent cbe929e commit 2c0ce7e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4
- name: Update pip
run: py -m pip install --upgrade build
run: py -m pip install --upgrade pip
- name: Build package
run: py -m build
run: |
py -m pip install --upgrade build
py -m build
pypi-publish:
name: Upload release to PyPI
runs-on: windows-latest
runs-on: ubuntu-latest
needs: build-dist
environment:
name: pypi
Expand All @@ -33,7 +35,7 @@ jobs:
github-release:
name: Create release in GitHub
runs-on: windows-latest
needs: build-dist
needs: [build-dist, pypi-publish]
steps:
- name: Create Release
uses: softprops/[email protected]
Expand Down

0 comments on commit 2c0ce7e

Please sign in to comment.