@@ -40,40 +40,48 @@ jobs:
4040 include :
4141 - os : macos-latest
4242 TARGET : macos_ARM
43- CMD_BUILD : pyinstaller generate_csa_report_mac_arm.spec
43+ CMD_BUILD : poetry run pyinstaller generate_csa_report_mac_arm.spec
4444 OUT_FILE_NAME : lw_report_gen_mac_arm
4545 ASSET_MIME : application/octet-stream
4646 - os : macos-13
4747 TARGET : macos_X86_64
48- CMD_BUILD : pyinstaller generate_csa_report_mac.spec
48+ CMD_BUILD : poetry run pyinstaller generate_csa_report_mac.spec
4949 OUT_FILE_NAME : lw_report_gen_mac_x86_64
5050 ASSET_MIME : application/octet-stream
5151 - os : windows-latest
5252 TARGET : windows
53- CMD_BUILD : pyinstaller generate_csa_report_win.spec
53+ CMD_BUILD : poetry run pyinstaller generate_csa_report_win.spec
5454 OUT_FILE_NAME : lw_report_gen_win.exe
5555 ASSET_MIME : application/vnd.microsoft.portable-executable
5656 - os : ubuntu-latest
5757 TARGET : linux
58- CMD_BUILD : pyinstaller generate_csa_report_linux.spec
58+ CMD_BUILD : poetry run pyinstaller generate_csa_report_linux.spec
5959 OUT_FILE_NAME : lw_report_gen_linux_x86_64
6060 ASSET_MIME : application/octet-stream
6161 steps :
6262 - uses : actions/checkout@v3
63- - name : Set up Python 3.10.11
63+
64+ - name : install poetry
65+ run : pipx install poetry
66+
67+ - name : Set up Python 3.10
6468 uses : actions/setup-python@v4
6569 with :
66- python-version : 3.10.11
70+ python-version : 3.10
71+ cache : ' poetry'
72+
73+ - name : Install python modules
74+ run : |
75+ poetry check
76+ poetry lock --no-update
77+ poetry install --verbose
78+
6779 - name : Update VERSION file
6880 id : update_version
6981 run : |
7082 python ./.github/workflows/ci_bump_version.py ${{ github.ref_name }}
7183 cat ./VERSION
72- - name : Install dependencies
73- run : |
74- python -m pip install --upgrade pip
75- pip install -r requirements.txt
76- pip install pyinstaller
84+
7785 - name : Build with pyinstaller for ${{matrix.TARGET}}
7886 run : ${{matrix.CMD_BUILD}}
7987 - name : Load Release URL File from release job
0 commit comments