diff --git a/.github/workflows/build_and_release.yml b/.github/workflows/build_and_release.yml index 2334fc7e..5f238140 100644 --- a/.github/workflows/build_and_release.yml +++ b/.github/workflows/build_and_release.yml @@ -43,11 +43,12 @@ jobs: - name: Build run: | - if [ "${{ runner.os }}" == 'Windows' ]; then - poetry run pyinstaller -F main.py -n ToolDelta.exe -i logo.png - else - poetry run pyinstaller -F main.py -n ToolDelta -i logo.png - fi + if ${{ runner.os }} == 'Windows' + then + poetry run pyinstaller -F main.py -n ToolDelta.exe -i logo.png + else + poetry run pyinstaller -F main.py -n ToolDelta -i logo.png + fi - name: Get version run: echo "VERSION=$(> $GITHUB_ENV