Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itsHenry35 authored Aug 24, 2022
1 parent 485977f commit 360b7c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ jobs:
pip install pyinstaller
- name: Build the artifact
- name: Build and rename the artifact
run: |
pyinstaller --noconfirm --onefile --windowed --icon "D:/a/ledu/ledu/ledu.ico" --add-data "D:/a/ledu/ledu/bin/aria2c_win.exe;bin/" "D:/a/ledu/ledu/main.py"
ren D:\a\ledu\ledu\dist\main.exe D:\a\ledu\ledu\dist\ledu_download_win64.exe
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: release
files: |
D:\a\ledu\ledu\dist\main.exe
D:\a\ledu\ledu\dist\ledu_download_win64.exe
- name: Upload
uses: actions/upload-artifact@v2
Expand All @@ -70,10 +71,11 @@ jobs:

- name: Install Dependencies
run: |
ls
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pyinstaller
cd /home/runner/work/ledu/ledu
ls
- name: Build the artifact
Expand Down

0 comments on commit 360b7c1

Please sign in to comment.