Skip to content

Commit

Permalink
CI: add pkg name to the wheels artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Sep 19, 2023
1 parent 464e1e7 commit 3c6463f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ jobs:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- name: Set env.REPOSITORY_NAME # just the repo, as opposed to org/repo
run: |
export REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}
echo "REPOSITORY_NAME=${REPOSITORY_NAME}" >> $GITHUB_ENV
- name: Checkout the code
uses: actions/checkout@v4

Expand All @@ -39,7 +44,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: wheels
name: ${{ env.REPOSITORY_NAME }}-wheels
path: dist/*.whl

- name: Test with pytest
Expand Down

0 comments on commit 3c6463f

Please sign in to comment.