Skip to content

Commit f187ccc

Browse files
committed
fix zizmor
1 parent f6cc842 commit f187ccc

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,12 @@ jobs:
5252
- name: Set the expected dist artifact names
5353
id: artifact-name
5454
run: |
55-
echo 'sdist=${{ env.dist-name }}-*.tar.gz' >> "${GITHUB_OUTPUT}"
55+
echo 'sdist=${{ env.dist-name }}-${VERSION}.tar.gz' >> "${GITHUB_OUTPUT}"
5656
echo 'wheel=${{
5757
env.dist-name
58-
}}-*-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
58+
}}-${VERSION}-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
59+
env:
60+
VERSION: ${{ steps.dist-version.outputs.version }}
5961

6062
- name: Install build
6163
run: python -Im pip install build
@@ -65,8 +67,11 @@ jobs:
6567
- name: Verify that the artifacts with expected names got created
6668
run: >-
6769
ls -1
68-
dist/${{ steps.artifact-name.outputs.sdist }}
69-
dist/${{ steps.artifact-name.outputs.wheel }}
70+
dist/${SDIST}
71+
dist/${WHEEL}
72+
env:
73+
SDIST: ${{ steps.artifact-name.outputs.sdist }}
74+
WHEEL: ${{ steps.artifact-name.outputs.wheel }}
7075
- name: Store the distribution packages
7176
uses: actions/upload-artifact@v4
7277
with:

0 commit comments

Comments
 (0)