Skip to content

Commit

Permalink
Version 1.6.14
Browse files Browse the repository at this point in the history
Backported `session=` keyword usage to specify session used for API Calls from the async branch
(#57) Fixed M3U(8) playlist saved by `--save-m3u` failing because of the omitted TrackDownloadTask
Updated Github Actions
  • Loading branch information
mos9527 committed Mar 6, 2024
1 parent 196766c commit 5624852
Showing 1 changed file with 14 additions and 11 deletions.
25 changes: 14 additions & 11 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ on:
push:
branches:
- master


workflow_dispatch:

jobs:
pypi:
if: "contains(github.event.head_commit.message, 'Version')"
Expand All @@ -22,16 +24,17 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
python setup.py install
- name: Build wheel and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*.whl dist/*.gz
pip install build
pip install requests
pip install setuptools
pip install wheel
- name: Build package
run: python -m build --no-isolation
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

build_windows:
runs-on: windows-latest
Expand Down

0 comments on commit 5624852

Please sign in to comment.