3 Commits

Author SHA1 Message Date
Kalam :p
610f1cea18 Update executables.yml 2020-12-18 17:56:33 +00:00
Kalam :p
4f1e6d3da3 Update executables.yml 2020-12-18 17:48:52 +00:00
Kalam :p
3d2a4aeb98 Update executables.yml 2020-12-18 17:47:45 +00:00

View File

@@ -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