From c4456219fd19426f3ec259f9eda98ad3a0ddb67e Mon Sep 17 00:00:00 2001 From: Teemu Kataja Date: Thu, 11 Jan 2024 08:39:08 +0200 Subject: [PATCH] fix cli builds for mac and windows --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef646e4..f2428c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -172,10 +172,10 @@ jobs: pip install pyinstaller pip install . pip install pyinstaller-versionfile - - name: Build GUI artifact macOS + - name: Build CLI artifact macOS if: matrix.os == 'macOS-latest' run: | - pyinstaller --noconsole --onefile sdacli.py --name ${{ matrix.asset_name }} + pyinstaller --onefile sdacli.py --name ${{ matrix.asset_name }} - name: Build CLI artifact Linux if: matrix.os == 'ubuntu-latest' run: | @@ -183,14 +183,14 @@ jobs: docker pull cscfi/pyinstaller docker run --rm -v "${PWD}:/builder" cscfi/pyinstaller --onefile sdacli.py --name ${{ matrix.asset_name }} sudo chown -R $USER:$GROUP dist/ - - name: Build GUI artifact windows + - name: Build CLI artifact windows if: matrix.os == 'windows-latest' shell: bash run: | TAG=${{ github.ref_name }} VERSION=${TAG#v} create-version-file versionfile_cli.yml --outfile file_version_info.txt --version $VERSION - pyinstaller --noconsole --onefile sdacli.py --name ${{ matrix.asset_name }} --version-file file_version_info.txt + pyinstaller --onefile sdacli.py --name ${{ matrix.asset_name }} --version-file file_version_info.txt - name: Create temporary certificate file if: matrix.os == 'windows-latest' run: |