Skip to content

Commit

Permalink
Merge pull request #283 from ritchie46/fixPublish
Browse files Browse the repository at this point in the history
Fix publish - Download dist _artifact_, not repo
  • Loading branch information
smith120bh authored Jul 20, 2024
2 parents 7eda331 + 04713b2 commit c088690
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Upload Source Distribution
uses: actions/upload-artifact@v4
with:
name: anastruct-sdist
path: dist/*.tar.gz
name: sdist
path: ./dist/*.tar.gz

build_wheels:
name: Build wheels on ${{ matrix.python }}-${{ matrix.buildplat[1] }}
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: anastruct-${{ matrix.python }}-${{ matrix.buildplat[1] }}
name: wheel-${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./dist/*.whl

run_tests:
Expand Down Expand Up @@ -97,8 +97,10 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- name: Checkout anaStruct Repository
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: dist/

- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit c088690

Please sign in to comment.