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: