From 5cfe2a3eb4b2219a89cce0011e5c71cd219b9789 Mon Sep 17 00:00:00 2001 From: deep-soft Date: Wed, 18 Oct 2023 12:33:38 +0300 Subject: [PATCH] Update build-release.yml --- .github/workflows/build-release.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index e12c6d116..a8e42f74e 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -131,6 +131,16 @@ jobs: working-directory: build/Release run: | if [[ -f "ExplorerPatcher.amd64.dll" ]]; then cp ExplorerPatcher.amd64.dll dxgi.dll; fi + + - name: Sign ExplorerPatcher files (1) + uses: deep-soft/code-sign-action@master + with: + certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}' + password: '${{ secrets.WINDOWS_PFX_PASSWORD }}' + certificatesha1: '${{ secrets.WINDOWS_PFX_SHA1_THUMBPRINT }}' + # certificatename: '${{ secrets.CERTNAME }}' + folder: 'build/Release/' + recursive: true - name: Patch setup shell: cmd @@ -139,6 +149,16 @@ jobs: ep_setup_patch.exe exit /b 0 + - name: Sign ExplorerPatcher files (2) + uses: deep-soft/code-sign-action@master + with: + certificate: '${{ secrets.WINDOWS_PFX_BASE64 }}' + password: '${{ secrets.WINDOWS_PFX_PASSWORD }}' + certificatesha1: '${{ secrets.WINDOWS_PFX_SHA1_THUMBPRINT }}' + # certificatename: '${{ secrets.CERTNAME }}' + folder: 'build/Release/' + recursive: true + - name: Upload artifacts uses: deep-soft/upload-artifact@v3 with: