mirror of
https://github.com/zealdocs/zeal.git
synced 2024-08-17 02:00:25 +03:00
ci(github): sign executable for Windows
This commit is contained in:
parent
40588ed753
commit
26d3c0622e
12
.github/workflows/build-check.yml
vendored
12
.github/workflows/build-check.yml
vendored
@ -152,9 +152,19 @@ jobs:
|
||||
"ZEAL_VERSION=$zeal_version" >> $env:GITHUB_ENV
|
||||
|
||||
- name: Install
|
||||
if: matrix.config.os == 'windows-2022'
|
||||
if: matrix.config.publishArtifacts
|
||||
run: cmake --build build/${{ matrix.config.configurePreset }} --config RelWithDebInfo --target install
|
||||
|
||||
- name: Sign Artifacts
|
||||
if: matrix.config.publishArtifacts && github.repository == 'zealdocs/zeal' && github.event_name == 'push'
|
||||
uses: dlemstra/code-sign-action@v1
|
||||
with:
|
||||
certificate: ${{ secrets.CODESIGN_CERTIFICATE }}
|
||||
password: ${{ secrets.CODESIGN_PASSWORD }}
|
||||
folder: build/${{ matrix.config.configurePreset }}/bin/RelWithDebInfo
|
||||
files: |
|
||||
zeal.exe
|
||||
|
||||
- name: Upload Artifacts
|
||||
if: matrix.config.publishArtifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
|
Loading…
Reference in New Issue
Block a user