mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-04 12:33:55 -07:00
fix packaging condition with new logic
This commit is contained in:
parent
ba6ae0999b
commit
dc08e963e6
1 changed files with 6 additions and 6 deletions
12
.github/workflows/desktop-build.yml
vendored
12
.github/workflows/desktop-build.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue