From d6e9bfbbd49b05633a669ca68e550bf64a6c6953 Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:47:43 +0200 Subject: [PATCH] [GH Actions] Removed Code-sign action with self-signed certificate (#1560) The self-signed certificate is not needed anymore, as we use the official Eclipse certificate. --- .github/workflows/build-windows.yml | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 05f35cf8de..b9d09ac053 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -6,7 +6,6 @@ on: branches: - master env: - IS_GITHUB_SIGNING_ALLOWED: true IS_JENKINS_SIGNING_ALLOWED: true jobs: @@ -261,34 +260,6 @@ jobs: run: cpack -C Release working-directory: ${{ runner.workspace }}/_build/complete - - name: Detect certificate - id: cert - if: env.IS_GITHUB_SIGNING_ALLOWED == 'true' - run: | - if ($Env:CERT_BODY -and $Env:CERT_PSWD -and $Env:CERT_ALGO -and $Env:CERT_HASH) { - Write-Output "ATTENTION: a certificate is available" - Write-Output "IS_GITHUB_SIGNING_ENABLED=true" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append - } else { - Write-Output "WARNING: a certificate is not available" - } - env: - CERT_BODY: ${{ secrets.CERT_BODY }} - CERT_PSWD: ${{ secrets.CERT_PSWD }} - CERT_ALGO: ${{ secrets.CERT_ALGO }} - CERT_HASH: ${{ secrets.CERT_HASH }} - - # https://github.com/OrhanKupusoglu/code-sign-action - - name: Sign the installer - if: env.IS_GITHUB_SIGNING_ENABLED == 'true' - uses: OrhanKupusoglu/code-sign-action@v5.5.1 - with: - cert_body: ${{ secrets.CERT_BODY }} - cert_pswd: ${{ secrets.CERT_PSWD }} - cert_algo: ${{ secrets.CERT_ALGO }} - cert_hash: ${{ secrets.CERT_HASH }} - folder: ${{ runner.workspace }}/_build/complete/_deploy - debug: false - - name: Upload Windows setup uses: actions/upload-artifact@v4 with: