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