mirror of
https://github.com/thewesker/lazy-dsi-file-downloader.git
synced 2025-12-20 04:21:09 -05:00
Compare commits
4 Commits
ghactionst
...
ghactionst
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be1c9bfb18 | ||
|
|
610f1cea18 | ||
|
|
4f1e6d3da3 | ||
|
|
3d2a4aeb98 |
19
.github/workflows/executables.yml
vendored
19
.github/workflows/executables.yml
vendored
@@ -2,13 +2,13 @@ name: Compile into Executables
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
types: [published]
|
||||
|
||||
#
|
||||
######################################################################################
|
||||
# Based off of :
|
||||
# https://github.com/mondul/HiyaCFW-Helper/blob/master/.github/workflows/make-dist.yml
|
||||
# Thanks to Epicpkmn11 for helping with this
|
||||
#
|
||||
######################################################################################
|
||||
|
||||
jobs:
|
||||
windows:
|
||||
@@ -31,16 +31,7 @@ jobs:
|
||||
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
|
||||
- name: Make binary
|
||||
run: |
|
||||
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
|
||||
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
|
||||
cd dist
|
||||
- name: Publish builds
|
||||
uses: actions/upload-artifact@v2
|
||||
@@ -76,7 +67,7 @@ jobs:
|
||||
needs: [windows,python]
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifacts@v2
|
||||
uses: actions/download-artifact@v2
|
||||
- name: Upload to Release
|
||||
run: |
|
||||
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
||||
|
||||
Reference in New Issue
Block a user