Bulk asynchronous downloader for multiple file hosts
Python asynciobunkrcyberdropdownloaderdropboxfilestergofilegoogle-drivemediafiremegamega-nzonedrivepatreonpawchivepinterestpixeldraintransfer-ittwitchtwittervk
Update publish-to-pypi.yaml
Jacob182d2420d891
diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yamlindex 26b0a0d8a..b6883faf8 100644--- a/.github/workflows/publish-to-pypi.yaml+++ b/.github/workflows/publish-to-pypi.yaml@@ -28,25 +28,28 @@ jobs:run: |version=$(poetry version --short)if [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then- echo "version=$version" >> $GITHUB_OUTPUT+ echo "version=$version" >> $GITHUB_STATEelseecho "Not a valid version bump. Skipping tag creation."exit 0fi- name: Create Tag- if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && steps.check-version.outputs.version != '' }}+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && env.version != '' }}run: |git config user.name "GitHub Actions"git config user.email "[email protected]"- git tag ${{ steps.check-version.outputs.version }}- git push origin ${{ steps.check-version.outputs.version }}+ git tag ${{ env.version }}+ git push origin ${{ env.version }}release:runs-on: ubuntu-latestneeds: check-version- if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}+ if: ${{ needs.check-version.outputs.version != '' }}steps:+ - name: Retrieve Version+ run: echo "VERSION=${{ needs.check-version.outputs.version }}" >> $GITHUB_ENV+- name: Checkout codeuses: actions/checkout@v4