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 | |
|---|---|---|---|
|
|
0541727424 | ||
|
|
be1c9bfb18 | ||
|
|
610f1cea18 |
15
.github/workflows/executables.yml
vendored
15
.github/workflows/executables.yml
vendored
@@ -31,21 +31,12 @@ 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
|
||||||
with:
|
with:
|
||||||
path: lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}.exe
|
path: dist/lazy-dsi-file-downloader-${{ steps.vars.outputs.tag }}.exe
|
||||||
name: windows
|
name: windows
|
||||||
|
|
||||||
python:
|
python:
|
||||||
@@ -76,7 +67,7 @@ jobs:
|
|||||||
needs: [windows,python]
|
needs: [windows,python]
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifacts@v2
|
uses: actions/download-artifact@v2
|
||||||
- name: Upload to Release
|
- name: Upload to Release
|
||||||
run: |
|
run: |
|
||||||
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
ID=$(jq --raw-output '.release.id' $GITHUB_EVENT_PATH)
|
||||||
|
|||||||
Reference in New Issue
Block a user