mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-05-11 16:15:45 -05:00
[build] Fix bug in b8773e63f0
This commit is contained in:
parent
347182a0cd
commit
3f02b09da9
1 changed files with 7 additions and 4 deletions
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
|
@ -85,13 +85,16 @@ jobs:
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
- name: Install SSH private key
|
- name: Install SSH private key
|
||||||
if: ${{ secrets.BREW_TOKEN }}
|
env:
|
||||||
|
BREW_TOKEN: ${{ secrets.BREW_TOKEN }}
|
||||||
|
if: ${{ env.BREW_TOKEN }}
|
||||||
uses: webfactory/ssh-agent@v0.5.3
|
uses: webfactory/ssh-agent@v0.5.3
|
||||||
with:
|
with:
|
||||||
ssh-private-key: ${{ secrets.BREW_TOKEN }}
|
ssh-private-key: ${{ env.BREW_TOKEN }}
|
||||||
- name: Update Homebrew Formulae
|
- name: Update Homebrew Formulae
|
||||||
# can't use secrets.GITHUB_TOKEN because it's outside yt-dlp repository
|
env:
|
||||||
if: ${{ secrets.BREW_TOKEN }}
|
BREW_TOKEN: ${{ secrets.BREW_TOKEN }}
|
||||||
|
if: ${{ env.BREW_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git clone git@github.com:yt-dlp/homebrew-taps taps/
|
git clone git@github.com:yt-dlp/homebrew-taps taps/
|
||||||
python3 devscripts/update-formulae.py taps/Formula/yt-dlp.rb "${{ steps.bump_version.outputs.ytdlp_version }}"
|
python3 devscripts/update-formulae.py taps/Formula/yt-dlp.rb "${{ steps.bump_version.outputs.ytdlp_version }}"
|
||||||
|
|
Loading…
Reference in a new issue