Skip to content

Add Signtool Action

Actions
Locates the latest version of Microsoft s signtool installed and adds it to the runner s PATH
v1
Latest
Star (0)

Add Signtool Action

Locates the latest version of Microsoft's signtool installed and adds it to the runner's PATH

View License on GitHub View Latest Release on GitHub

Use this action to locate signtool.exe and add it to the PATH environment variable for easier execution throughout the rest of a workflow's job.

**This action will only run on Windows runners, it will fail fast otherwise.

Refer to Microsoft's documentation for more on signtool and how it works.

Usage

on: push
jobs:
  build:
    runs-on: windows-latest
    steps:
      - uses: actions/checkout@v4

      - uses: KamaranL/add-signtool-action@v1
        id: signtool

      - run: Write-Output "$env:SIGNTOOL_DIR"
        # prints out the absolute path to the located signtool executable
        shell: pwsh
        env:
          SIGNTOOL_DIR: ${{ steps.signtool.outputs.signtool-x64 }}

Outputs

This action outputs the path of the located signtool into the output key signtool-${{ runner.arch }}.

Examples

${{ runner.arch }} outputs key
x64 signtool-x64
arm signtool-arm

Add Signtool Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Locates the latest version of Microsoft s signtool installed and adds it to the runner s PATH
v1
Latest

Add Signtool Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.