mirror of
https://github.com/thewesker/lazy-dsi-file-downloader.git
synced 2025-12-20 12:31:11 -05:00
Compare commits
3 Commits
ghactionst
...
ghactionst
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
610f1cea18 | ||
|
|
4f1e6d3da3 | ||
|
|
3d2a4aeb98 |
17
.github/workflows/executables.yml
vendored
17
.github/workflows/executables.yml
vendored
@@ -2,13 +2,13 @@ name: Compile into Executables
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [published]
|
||||||
|
|
||||||
#
|
######################################################################################
|
||||||
# Based off of :
|
# Based off of :
|
||||||
# https://github.com/mondul/HiyaCFW-Helper/blob/master/.github/workflows/make-dist.yml
|
# https://github.com/mondul/HiyaCFW-Helper/blob/master/.github/workflows/make-dist.yml
|
||||||
# Thanks to Epicpkmn11 for helping with this
|
# Thanks to Epicpkmn11 for helping with this
|
||||||
#
|
######################################################################################
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
windows:
|
windows:
|
||||||
@@ -31,16 +31,7 @@ jobs:
|
|||||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||||
- name: Make binary
|
- name: Make binary
|
||||||
run: |
|
run: |
|
||||||
pyinstaller --onefile ^
|
pyinstaller --onefile --add-data "certifi;certifi" --add-data "requests;requests" --add-data "urllib3;urllib3" --add-data "lazy.ico;." --add-data "chardet;chardet" --icon "lazy.ico" --console --name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}" main.py
|
||||||
--add-data "certifi;certifi" ^
|
|
||||||
--add-data "requests;requests" ^
|
|
||||||
--add-data "urllib3;urllib3" ^
|
|
||||||
--add-data "lazy.ico;." ^
|
|
||||||
--add-data "chardet;chardet" ^
|
|
||||||
--icon "lazy.ico" ^
|
|
||||||
--console ^
|
|
||||||
--name "lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}" ^
|
|
||||||
main.py
|
|
||||||
cd dist
|
cd dist
|
||||||
- name: Publish builds
|
- name: Publish builds
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user