Skip to content

Commit

Permalink
name dist archive with package version
Browse files Browse the repository at this point in the history
  • Loading branch information
nitzmahone committed Sep 6, 2024
1 parent 22d4fd8 commit 43dc043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
python -m build --sdist
echo "artifact_name=$(ls ./dist)" >> "$GITHUB_OUTPUT"
echo "package_version=$(ls ./dist | sed -En 's/cffi-(.+)\.tar\.gz/\1/p')" ?? "$GITHUB_OUTPUT"
- name: upload sdist artifact
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -538,7 +539,7 @@ jobs:
- name: merge all artifacts
uses: actions/upload-artifact/merge@v4
with:
name: dist
name: dist-cffi-${{ needs.build_sdist.outputs.package_version }}
delete-merged: true
if: ${{ env.skip_artifact_upload != 'true' }}

Expand Down

0 comments on commit 43dc043

Please sign in to comment.