mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-05 08:32:46 +00:00
remove extraneous SHA sum verification
Authored by: bashonly
This commit is contained in:
parent
c26864da13
commit
bc3471315c
5
.github/workflows/release-master.yml
vendored
5
.github/workflows/release-master.yml
vendored
@ -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:
|
||||
|
||||
5
.github/workflows/release-nightly.yml
vendored
5
.github/workflows/release-nightly.yml
vendored
@ -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:
|
||||
|
||||
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user