Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 7f0836a

Browse files
workflows: Fix conditional syntax
1 parent 683c9ef commit 7f0836a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build_release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions: {}
1010

1111
jobs:
1212
wrapper_build:
13-
if: ${{ !github.event.inputs.release }}
13+
if: ${{ github.event.inputs.release == false }}
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout Repository
@@ -34,7 +34,7 @@ jobs:
3434
name: powershell64-wrapper
3535
path: "powershell64.exe"
3636
release_build:
37-
if: ${{ github.event.inputs.release }}
37+
if: ${{ github.event.inputs.release == true }}
3838
runs-on: ubuntu-latest
3939
steps:
4040
- name: Checkout Repository
@@ -45,7 +45,6 @@ jobs:
4545
packages: upx-ucl
4646
version: pwsh_wrapper_release
4747
- name: Build Powershell Wrapper (Dist)
48-
if: github.event.inputs.release
4948
run: |
5049
make dist
5150
- name: Upload 32bit Artifact
@@ -59,7 +58,6 @@ jobs:
5958
name: powershell64-wrapper
6059
path: "powershell64.exe"
6160
- name: Upload Dist Artifacts
62-
if: github.event.inputs.release
6361
uses: actions/upload-artifact@v4
6462
with:
6563
name: powershell-wrapper-dist

0 commit comments

Comments
 (0)