Skip to content

Commit

Permalink
CI: fix another wrong usage
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 committed Sep 24, 2023
1 parent 5af471b commit bdbc5e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
pyinstaller --noconfirm --onefile --console --icon "D:/a/ledu/ledu/ledu.ico" --add-data "D:/a/ledu/ledu/bin/aria2c_win.exe;bin/" "D:/a/ledu/ledu/main.py"
$SHORT_COMMIT_ID = $env:GITHUB_SHA.Substring(0,7)
if ($env:GITHUB_EVENT_NAME -eq "pull_request") {
FILENAME=ledu_download_win64_pr_$SHORT_COMMIT_ID.exe
$FILENAME = "ledu_download_win64_PR_$($SHORT_COMMIT_ID).exe"
} else {
FILENAME=ledu_download_win64_$SHORT_COMMIT_ID.exe
$FILENAME = "ledu_download_win64_$($SHORT_COMMIT_ID).exe"
}
ren D:\a\ledu\ledu\dist\main.exe D:\a\ledu\ledu\dist\$FILENAME
Expand Down

0 comments on commit bdbc5e4

Please sign in to comment.