From 5657ed3151ed528ef6b5a998acde6a1bde79214f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= Date: Thu, 9 Mar 2023 18:11:19 +0800 Subject: [PATCH] :bug: Fix: fix yml bug --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02f25e1..1dba096 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,21 +57,21 @@ jobs: # step3: yarn - name: Yarn install macos - if: matrix.os = 'macos-11' + if: matrix.os == 'macos-11' run: | yarn yarn global add xvfb-maybe npm rebuild --platform=darwin --arch=arm64 sharp - name: Yarn install windows - if: matrix.os = 'windows-latest' + if: matrix.os == 'windows-latest' run: | yarn yarn global add xvfb-maybe npm rebuild --platform=win32 --arch=ia32 sharp - name: Yarn install linux - if: matrix.os = 'ubuntu-latest' + if: matrix.os == 'ubuntu-latest' run: | yarn yarn global add xvfb-maybe