diff --git a/.github/workflows/release-master.yml b/.github/workflows/release-master.yml index 95dbc51729..78445e417e 100644 --- a/.github/workflows/release-master.yml +++ b/.github/workflows/release-master.yml @@ -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: diff --git a/.github/workflows/release-nightly.yml b/.github/workflows/release-nightly.yml index 89f064b4a1..8f72844058 100644 --- a/.github/workflows/release-nightly.yml +++ b/.github/workflows/release-nightly.yml @@ -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: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a744a78bf4..26b93e429c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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'