Add steps to sign win binary #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Executables | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Build Executables | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 14 | |
architecture: x64 | |
- run: ./scripts/executable_win.sh | |
- name: Sign binary | |
uses: lando/code-sign-action@v2 | |
with: | |
file: path/to/binary | |
certificate-data: ${{ secrets.WINDOWS_CERT }} | |
certificate-password: ${{ secrets.WINDOWS_CERT_KEY }} | |
# env: | |
# APPLE_DEV_CERT: ${{secrets.APPLE_DEV_CERT}} | |
# APPLE_ID_USERNAME: ${{secrets.APPLE_ID_USERNAME}} | |
# APPLE_ID_KEY: ${{secrets.APPLE_ID_KEY}} | |
# - name: Verify executable | |
# run: ./percy --version | |
# - name: Upload assets | |
# uses: softprops/action-gh-release@d99959edae48b5ffffd7b00da66dcdb0a33a52ee | |
# with: | |
# files: | | |
# percy-win.zip | |
# env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |