Skip to content

Commit

Permalink
fix zizmor
Browse files Browse the repository at this point in the history
  • Loading branch information
graingert committed Dec 23, 2024
1 parent f6cc842 commit f187ccc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ jobs:
- name: Set the expected dist artifact names
id: artifact-name
run: |
echo 'sdist=${{ env.dist-name }}-*.tar.gz' >> "${GITHUB_OUTPUT}"
echo 'sdist=${{ env.dist-name }}-${VERSION}.tar.gz' >> "${GITHUB_OUTPUT}"
echo 'wheel=${{
env.dist-name
}}-*-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
}}-${VERSION}-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
env:
VERSION: ${{ steps.dist-version.outputs.version }}

- name: Install build
run: python -Im pip install build
Expand All @@ -65,8 +67,11 @@ jobs:
- name: Verify that the artifacts with expected names got created
run: >-
ls -1
dist/${{ steps.artifact-name.outputs.sdist }}
dist/${{ steps.artifact-name.outputs.wheel }}
dist/${SDIST}
dist/${WHEEL}
env:
SDIST: ${{ steps.artifact-name.outputs.sdist }}
WHEEL: ${{ steps.artifact-name.outputs.wheel }}
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f187ccc

Please sign in to comment.