From 605772a0930c0271719559f6b447fa55578ec988 Mon Sep 17 00:00:00 2001 From: Lachee Date: Fri, 16 May 2025 10:53:20 +1000 Subject: [PATCH] tweaked to be a if on the job itself --- .gitea/workflows/build-latest-image.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/build-latest-image.yaml b/.gitea/workflows/build-latest-image.yaml index dbe0d2f..d3dc1f1 100644 --- a/.gitea/workflows/build-latest-image.yaml +++ b/.gitea/workflows/build-latest-image.yaml @@ -44,10 +44,8 @@ jobs: - linux-il2cpp name: Build 🐳 ${{ matrix.platform }} + if: ${{ github.event.inputs.platform == 'all' || github.event.inputs.platform == '' || github.event.inputs.platform == matrix.platform }} steps: - - name: Skip if platform does not match input - if: ${{ github.event.inputs.platform != 'all' && github.event.inputs.platform != '' && matrix.platform != github.event.inputs.platform }} - run: exit 0 - uses: actions/checkout@v4 - name: Login to Docker Registry