forked from yt-dlp/yt-dlp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,7 +96,7 @@ jobs: | |
env: | ||
BREW_TOKEN: ${{ secrets.BREW_TOKEN }} | ||
if: "env.BREW_TOKEN != ''" | ||
uses: webfactory/[email protected] | ||
uses: yt-dlp/[email protected] | ||
with: | ||
ssh-private-key: ${{ env.BREW_TOKEN }} | ||
- name: Update Homebrew Formulae | ||
|
@@ -192,11 +192,9 @@ jobs: | |
run: echo "::set-output name=sha512_macos::$(sha512sum dist/yt-dlp_macos | awk '{print $1}')" | ||
|
||
- name: Run PyInstaller Script with --onedir | ||
run: /usr/bin/python3 pyinst.py --target-architecture universal2 --onedir | ||
- uses: papeloto/action-zip@v1 | ||
with: | ||
files: ./dist/yt-dlp_macos | ||
dest: ./dist/yt-dlp_macos.zip | ||
run: | | ||
/usr/bin/python3 pyinst.py --target-architecture universal2 --onedir | ||
zip ./dist/yt-dlp_macos.zip ./dist/yt-dlp_macos | ||
- name: Upload yt-dlp MacOS onedir | ||
id: upload-release-macos-zip | ||
uses: actions/upload-release-asset@v1 | ||
|
@@ -265,11 +263,9 @@ jobs: | |
run: echo "::set-output name=sha512_win::$((Get-FileHash dist\yt-dlp.exe -Algorithm SHA512).Hash.ToLower())" | ||
|
||
- name: Run PyInstaller Script with --onedir | ||
run: python pyinst.py --onedir | ||
- uses: papeloto/action-zip@v1 | ||
with: | ||
files: ./dist/yt-dlp | ||
dest: ./dist/yt-dlp_win.zip | ||
run: | | ||
python pyinst.py --onedir | ||
Compress-Archive -LiteralPath ./dist/yt-dlp -DestinationPath ./dist/yt-dlp_win.zip | ||
- name: Upload yt-dlp Windows onedir | ||
id: upload-release-windows-zip | ||
uses: actions/upload-release-asset@v1 | ||
|