Skip to content

Commit

Permalink
Fix build release job following actions v4 upgrade (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
relf authored Dec 22, 2023
1 parent 1040bb8 commit f99d89f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: smt-${{ matrix.os }}
path: ./wheelhouse/*.whl

build_sdist:
Expand All @@ -37,6 +38,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: smt-src
path: dist/*.tar.gz

upload_pypi:
Expand All @@ -48,9 +50,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
# unpacks default artifact into dist/
# if `name: artifact` is omitted, the action will create extra parent dir
name: artifact
pattern: smt-*
merge-multiple: true
path: dist

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

0 comments on commit f99d89f

Please sign in to comment.