Skip to content

Commit 5a87c7e

Browse files
committed
save
1 parent 44a69d2 commit 5a87c7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/zxc-compile-code.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Setup Kind
9494
uses: helm/kind-action@99576bfa6ddf9a8e612d83b513da5a75875caced # v1.9.0
95-
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
95+
if: ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
9696
with:
9797
install_only: true
9898
node_image: kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
@@ -122,7 +122,7 @@ jobs:
122122

123123
- name: Publish Unit Test Report
124124
uses: EnricoMi/publish-unit-test-result-action@f355d34d53ad4e7f506f699478db2dd71da9de5f # v2.15.1
125-
if: ${{ inputs.enable-unit-tests && steps.npm-deps.conclusion == 'success' && !cancelled() }}
125+
if: ${{ runner.os == 'linux' && inputs.enable-unit-tests && steps.npm-deps.conclusion == 'success' && !cancelled() }}
126126
with:
127127
check_name: 'Unit Test Results'
128128
files: "junit.xml"
@@ -139,7 +139,7 @@ jobs:
139139
run: docker image pull kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72
140140

141141
- name: Setup E2E Tests
142-
if: ${{ inputs.enable-e2e-tests && !cancelled() && !failure() }}
142+
if: ${{ runner.os == 'linux' && inputs.enable-e2e-tests && !cancelled() && !failure() }}
143143
run: |
144144
npm link
145145
./test/e2e/setup-e2e.sh

0 commit comments

Comments
 (0)