- python-version: '3.x'
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install setuptools wheel twine
- - name: Bump version
- run: python scripts/update-version-workflow.py
- - name: Build and publish
- env:
- TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- run: |
- rm -rf dist/*
- python setup.py sdist bdist_wheel
- twine upload dist/*
+ auth: ${{ secrets.GIST_TOKEN }}
+ gistID: c69cb23c3c5b3316248e52022790aa57
+ filename: version.json
+ label: Version
+ message: ${{ needs.build_unix.outputs.ytdlc_version }}