From a0412d43fbe5eb13c66882c6e3a7e97a1f4f42fe Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Tue, 20 Aug 2024 15:19:21 -0300 Subject: [PATCH] add if for self hosted --- .github/workflows/pull-request-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-build.yml b/.github/workflows/pull-request-build.yml index 609a0f6e2..a5c6cad3d 100644 --- a/.github/workflows/pull-request-build.yml +++ b/.github/workflows/pull-request-build.yml @@ -78,7 +78,7 @@ jobs: CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} - name: Build MacOS Package - if: ${{ matrix.os == 'macos-latest' }} + if: ${{ matrix.os == 'macos-latest' || runner.labels.contains('macos') }} run: | sudo mdutil -a -i off yarn electron-builder --publish never --mac --universal