fix packaging condition with new logic

This commit is contained in:
tooomm 2026-07-03 17:36:09 +02:00
parent ba6ae0999b
commit dc08e963e6

View file

@ -183,7 +183,7 @@ jobs:
- name: "Build release package"
id: build
if: ${{ matrix.package != '' }}
if: matrix.package
shell: bash
env:
PACKAGE: ${{ matrix.package }}
@ -221,7 +221,7 @@ jobs:
- name: "Upload artifact"
id: upload_artifact
if: matrix.package != false
if: matrix.package
uses: actions/upload-artifact@v7
with:
archive: false
@ -230,7 +230,7 @@ jobs:
- name: "Upload to release"
id: upload_release
if: matrix.package != false && needs.configure.outputs.tag != null
if: matrix.package && needs.configure.outputs.tag != null
shell: bash
env:
ASSET_NAME: ${{ steps.build.outputs.fullname }}
@ -474,7 +474,7 @@ jobs:
path: ${{ env.CCACHE_DIR }}
- name: "[macOS] Sign app bundle"
if: matrix.os == 'macOS' && matrix.make_package && needs.configure.outputs.tag != null
if: matrix.os == 'macOS' && matrix.make_package == true && needs.configure.outputs.tag != null
id: sign_macos
env:
BUILD_PATH: ${{ steps.build.outputs.path }}
@ -521,7 +521,7 @@ jobs:
fi
- name: "Upload artifact"
if: matrix.make_package
if: matrix.make_package == true
id: upload_artifact
uses: actions/upload-artifact@v7
with:
@ -541,7 +541,7 @@ jobs:
build/servatrice/Release/*.pdb
- name: "Upload to release"
if: needs.configure.outputs.tag != null && matrix.make_package == true
if: matrix.make_package == true && needs.configure.outputs.tag != null
id: upload_release
shell: bash
env: