diff --git a/.github/workflows/build_darwin.yml b/.github/workflows/build_darwin.yml index f4cbbc7e8..942bdb209 100644 --- a/.github/workflows/build_darwin.yml +++ b/.github/workflows/build_darwin.yml @@ -23,7 +23,7 @@ jobs: - uses: ./.github/build_action - name: Fetch certificate file - if: ${{ github.event_name == 'pull_request' }} == false + if: ${{ github.event_name != 'pull_request' }} == false env: NORDIC_SIGNING_CERTIFICATE: ${{ secrets.NORDIC_SIGNING_CERTIFICATE_P12 }} @@ -32,7 +32,7 @@ jobs: ./nordic_signing_certificate.p12 - name: Run Electron Builder - if: ${{ github.event_name == 'pull_request' }} == false + if: ${{ github.event_name != 'pull_request' }} == false env: CSC_LINK: ./nordic_signing_certificate.p12 CSC_KEY_PASSWORD: '' @@ -42,7 +42,7 @@ jobs: run: npx electron-builder -p never ${{ inputs.electronArgument }} - name: Publish built artifact - if: ${{ github.event_name == 'pull_request' }} == false + if: ${{ github.event_name != 'pull_request' }} == false uses: actions/upload-artifact@v3 with: name: diff --git a/.github/workflows/build_linux.yml b/.github/workflows/build_linux.yml index b9072c9dd..c462a93ba 100644 --- a/.github/workflows/build_linux.yml +++ b/.github/workflows/build_linux.yml @@ -23,9 +23,11 @@ jobs: - uses: ./.github/build_action - name: Run Electron Builder + if: ${{ github.event_name != 'pull_request' }} == false run: npx electron-builder -p never ${{ inputs.electronArgument }} - name: Publish built artifact + if: ${{ github.event_name != 'pull_request' }} == false uses: actions/upload-artifact@v3 with: name: nRF Connect for Desktop linux diff --git a/.github/workflows/build_win.yml b/.github/workflows/build_win.yml index 626f6a5c7..5011cabba 100644 --- a/.github/workflows/build_win.yml +++ b/.github/workflows/build_win.yml @@ -23,6 +23,7 @@ jobs: - uses: ./.github/build_action - name: Fetch certificate file + if: ${{ github.event_name != 'pull_request' }} == false shell: bash env: NORDIC_SIGNING_CERTIFICATE: @@ -32,6 +33,7 @@ jobs: ./nordic_signing_certificate.pfx - name: Run Electron Builder + if: ${{ github.event_name != 'pull_request' }} == false env: CSC_LINK: ./nordic_signing_certificate.pfx CSC_KEY_PASSWORD: @@ -39,6 +41,7 @@ jobs: run: npx electron-builder -p never ${{ inputs.electronArgument }} - name: Publish built artifact + if: ${{ github.event_name != 'pull_request' }} == false uses: actions/upload-artifact@v3 with: name: nRF Connect for Desktop win32