tweaked to be a if on the job itself

This commit is contained in:
Lachee 2025-05-16 10:53:20 +10:00
parent 561a526724
commit 605772a093

View File

@ -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