vcsjones / AzureSignTool

SignTool Library and Azure Key Vault Support
MIT License
286 stars 90 forks source link

[BUG] OS platform error when using the tool in Github composite actions #173

Closed neatcoder closed 1 year ago

neatcoder commented 2 years ago

Github Composite action:

name: Github composite action
runs:
  using: "composite"
  steps:
    - run: |
        dotnet tool install --global AzureSignTool --version 3.0.0
        azuresigntool --help
      shell: pwsh

Log:

You can invoke the tool using the following command: azuresigntool
Tool 'azuresigntool' (version '3.0.0') was successfully installed.

Azure Sign Tool is only supported on Windows.
neatcoder commented 2 years ago

@vcsjones Hi! Just checking if this can fixed any soon? :)

vcsjones commented 2 years ago

@neatcoder where in your workflow are you actually saying "Run this on Windows?". AzureSignTool is just using a standard .NET API to determine if it is running on Windows or not. Either you are not actually running the action on Windows, or there is a bug in .NET's OS detection.

vcsjones commented 1 year ago

Closing due to no activity.