File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -96,12 +96,25 @@ jobs:
9696 continue-on-error : true # Win arm64 is not a priority for now, docker may fail sometimes.
9797 runs-on : ${{ matrix.os }}
9898 needs : [ client-ssh-key ]
99- if : ${{ !contains(inputs.skip-platforms, matrix.platform) }}
10099 continue-on-error : ${{ matrix.continue-on-error || false }}
101100 defaults :
102101 run :
103102 shell : bash
104103 steps :
104+ - name : ⏭️ Check if platform should be skipped
105+ id : should-skip
106+ run : |
107+ SKIP_PLATFORMS="${{ inputs.skip-platforms }}"
108+ CURRENT_PLATFORM="${{ matrix.platform }}"
109+
110+ if [[ " $SKIP_PLATFORMS " == *" $CURRENT_PLATFORM "* ]]; then
111+ echo "⏭️ Skipping platform: $CURRENT_PLATFORM"
112+ echo "skip=true" >> $GITHUB_OUTPUT
113+ else
114+ echo "✅ Running tests for platform: $CURRENT_PLATFORM"
115+ echo "skip=false" >> $GITHUB_OUTPUT
116+ fi
117+
105118 - name : 📥 Checkout code
106119 uses : actions/checkout@v4
107120
You can’t perform that action at this time.
0 commit comments