@@ -59,32 +59,32 @@ jobs:
5959 - os : ubuntu-18.04
6060 TARGET : ubuntu
6161 CMD_BUILD : >
62- pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks &&
62+ pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "LICENSE:LICENSES" --add-binary "LICENSES/LicenseRef-3rd_party_licenses.txt:LICENSES" &&
6363 mv dist/cli fosslight_bin_ubuntu18
6464 OUT_FILE_NAME : fosslight_bin_ubuntu18
6565 ASSET_MIME : application/octet-stream
6666 - os : macos-latest
6767 TARGET : macos
6868 CMD_BUILD : >
69- pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks &&
69+ pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "LICENSE:LICENSES" --add-binary "LICENSES/LicenseRef-3rd_party_licenses.txt:LICENSES" &&
7070 mv dist/cli fosslight_bin_macos
7171 OUT_FILE_NAME : fosslight_bin_macos
7272 ASSET_MIME : aapplication/x-mach-binary
7373 - os : windows-latest
7474 TARGET : windows
7575 CMD_BUILD : >
76- pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks &&
76+ pyinstaller --onefile cli.py -n cli --additional-hooks-dir=hooks --add-binary "LICENSE;LICENSES" --add-binary "LICENSES\LicenseRef-3rd_party_licenses.txt;LICENSES" &&
7777 move dist/cli.exe fosslight_bin_windows.exe
7878 OUT_FILE_NAME : fosslight_bin_windows.exe
7979 ASSET_MIME : application/vnd.microsoft.portable-executable
8080 steps :
8181 - uses : actions/checkout@v2
8282 with :
8383 ref : main
84- - name : Set up Python 3.6
84+ - name : Set up Python 3.8
8585 uses : actions/setup-python@v2
8686 with :
87- python-version : 3.6
87+ python-version : ' 3.8 '
8888 - name : Install dependencies
8989 run : |
9090 python -m pip install --upgrade pip
@@ -112,7 +112,7 @@ jobs:
112112 - name : Set up Python
113113 uses : actions/setup-python@v2
114114 with :
115- python-version : ' 3.7 '
115+ python-version : ' 3.8 '
116116 - name : Install dependencies
117117 run : |
118118 python -m pip install --upgrade pip
@@ -124,13 +124,3 @@ jobs:
124124 run : |
125125 python setup.py sdist bdist_wheel
126126 twine upload dist/*
127- - name : Upload Release 3rd Party License text
128- id : upload-release-license
129- 130- env :
131- GITHUB_TOKEN : ${{ secrets.TOKEN }}
132- with :
133- upload_url : ${{ github.event.release.upload_url }}
134- asset_path : ./LICENSES/LicenseRef-3rd_party_licenses.txt
135- asset_name : LicenseRef-3rd_party_licenses.txt
136- asset_content_type : text/plain
0 commit comments