remove extraneous SHA sum verification

Authored by: bashonly
This commit is contained in:
bashonly 2024-11-09 17:21:21 -06:00
parent c26864da13
commit bc3471315c
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0
3 changed files with 0 additions and 23 deletions

View File

@ -41,11 +41,6 @@ jobs:
with:
path: dist
name: build-pypi
- name: Verify SHA2-256SUMS
run: |
cd ./dist/
sha256sum -c SHA2-256SUMS
rm SHA2-256SUMS
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:

View File

@ -54,11 +54,6 @@ jobs:
with:
path: dist
name: build-pypi
- name: Verify SHA2-256SUMS
run: |
cd ./dist/
sha256sum -c SHA2-256SUMS
rm SHA2-256SUMS
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:

View File

@ -267,8 +267,6 @@ jobs:
sed -i -E '0,/(name = ")[^"]+(")/s//\1${{ env.pypi_project }}\2/' pyproject.toml
- name: Build
env:
event_name: ${{ github.event_name }}
run: |
rm -rf dist/*
make pypi-files
@ -279,17 +277,6 @@ jobs:
python devscripts/set-variant.py pip -M "You installed yt-dlp with pip or using the wheel from PyPi; Use that to update"
make clean-cache
python -m build --no-isolation .
cd ./dist/
# print SHA sums to stdout
sha256sum -- * | tee SHA2-256SUMS
# also print as permanent annotations to the summary page
while read -r shasum; do
echo "::notice title=${shasum##* }::sha256: ${shasum% *}"
done < SHA2-256SUMS
# if we're publishing from this workflow, we need to remove SHA2-256SUMS from ./dist/ now
if [[ "${event_name}" == "workflow_dispatch" ]]; then
rm SHA2-256SUMS
fi
- name: Upload artifacts
if: github.event_name != 'workflow_dispatch'