Skip to content

Commit

Permalink
Update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Jan 4, 2024
1 parent b909f18 commit 77c1ee1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Upload sdist
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-sdist
path: dist/*.tar.gz

build-wheels:
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: wheels
name: dist-wheel-${{ matrix.os }}-${{ matrix.arch }}
path: dist/*.whl

- name: Archive binary
Expand All @@ -177,7 +177,7 @@ jobs:
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: binaries
name: binary-${{ matrix.os }}-${{ matrix.arch }}
path: ${{ steps.archive.outputs.filename }}

publish-to-pypi:
Expand All @@ -190,11 +190,12 @@ jobs:
id-token: write

steps:
- name: Download wheels
uses: actions/download-artifact@v3
- name: Download sdist and wheels
uses: actions/download-artifact@v4
with:
name: wheels
pattern: dist-*
path: dist
merge-multiple: true

- name: Publish to PyPI
if: inputs.dry-run == false
Expand Down Expand Up @@ -232,10 +233,11 @@ jobs:
ref: ${{ inputs.sha }}

- name: Download binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: binaries
pattern: binary-*
path: binaries
merge-multiple: true

- name: Create GitHub release
id: github-release
Expand Down

0 comments on commit 77c1ee1

Please sign in to comment.