diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 122ee0917..baa65cb31 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -245,7 +245,7 @@ jobs: npm run build-${{ matrix.platform }}-${{ matrix.architecture }} - name: Code sign bin (Windows) - if: matrix.os == 'windows-latest' + if: matrix.os == 'windows-latest' && contains(github.ref, 'main') run: | $certificate_file_name = "${env:TEMP}\certificate.pfx"