From 55fefa65ff618408a493d2d01f0e9965c14f0ea5 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 20 Sep 2019 11:28:04 +0200 Subject: [PATCH] ci --- .github/workflows/macos.yml | 4 ++-- .github/workflows/windows.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 913206bf..763d8cc1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -38,7 +38,7 @@ jobs: - name: Build and sign packages run: scripts/build-macos.js - if: github.head_ref + if: github.repository == 'Eugeny/terminus' && github.event_name == 'push' env: DEBUG: electron-builder,electron-builder:* GH_TOKEN: ${{ secrets.GH_TOKEN }} @@ -47,7 +47,7 @@ jobs: - name: Build packages without signing run: scripts/build-macos.js - if: "! github.head_ref" + if: github.repository != 'Eugeny/terminus' || github.event_name != 'push' env: DEBUG: electron-builder,electron-builder:* diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a3d31568..5a190e98 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,7 +23,7 @@ jobs: - name: Build and sign packages run: node scripts/build-windows.js - if: github.head_ref + if: github.repository == 'Eugeny/terminus' && github.event_name == 'push' env: GH_TOKEN: ${{ secrets.GH_TOKEN }} WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }} @@ -31,7 +31,7 @@ jobs: - name: Build packages without signing run: node scripts/build-windows.js - if: "! github.head_ref" + if: github.repository != 'Eugeny/terminus' || github.event_name != 'push' - name: Package artifacts run: |