Skip to content

Commit

Permalink
update build-test-windows-osx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yajuhua committed May 14, 2024
1 parent cda6323 commit 522a474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-windows-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
run: |
mvn -B package --file pom.xml
unzip target/app.jar
TAG=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
echo "TAG=$(curl --silent "https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')" >>$GITHUB_ENV
curl -o platform/windows/yt-dlp.exe "https://github.com/yt-dlp/yt-dlp/releases/download/${TAG}/yt-dlp.exe"
cp -rf BOOT-INF/classes BOOT-INF/lib platform/windows/
zip -r podcast2-win-x64.zip platform/windows/
Expand Down

0 comments on commit 522a474

Please sign in to comment.