From 317523452a7932e35561c7ec383dd276bd4656e1 Mon Sep 17 00:00:00 2001 From: Melissa Kilby Date: Thu, 4 Dec 2025 13:44:10 -0800 Subject: [PATCH] fix: simplify workflow boolean checks Signed-off-by: Melissa Kilby --- .github/workflows/common.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index e4d5131..340b830 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -68,7 +68,7 @@ jobs: push: true tags: ghcr.io/apple/container-builder-shim/builder:${{ inputs.version }} - name: Build image to tar - if: ${{ inputs.publish }} != true + if: ${{ !inputs.publish }} uses: docker/build-push-action@v6 with: platforms: linux/arm64 @@ -76,7 +76,7 @@ jobs: tags: ghcr.io/apple/container-builder-shim/builder:${{ inputs.version }} outputs: type=oci,dest=container-builder-shim.tar - name: Save artifacts - if: ${{ inputs.publish }} != true + if: ${{ !inputs.publish }} uses: actions/upload-artifact@v4 with: name: container-builder-shim