Skip to content

Commit

Permalink
Try Windows powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
bisera-cognite committed Aug 7, 2023
1 parent 5c5af77 commit fbafcac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
CERTIFICATE_SHA1_HASH: ${{ secrets.CODE_SIGNING_CERT_SHA1_HASH }}
CLIENT_CERTIFICATE: ${{ secrets.CODE_SIGNING_CLIENT_CERT }}
CLIENT_CERTIFICATE_PASSWORD: ${{ secrets.CODE_SIGNING_CLIENT_CERT_PASSWORD }}
uses: cognitedata/code-sign-action/@v1.281
uses: cognitedata/code-sign-action/@v1.282
with:
path-to-binary: 'files\wmp.dll'

Expand Down Expand Up @@ -70,6 +70,6 @@ jobs:
CERTIFICATE_SHA1_HASH: ${{ secrets.CODE_SIGNING_CERT_SHA1_HASH }}
CLIENT_CERTIFICATE: ${{ secrets.CODE_SIGNING_CLIENT_CERT }}
CLIENT_CERTIFICATE_PASSWORD: ${{ secrets.CODE_SIGNING_CLIENT_CERT_PASSWORD }}
uses: cognitedata/code-sign-action/@v1.281
uses: cognitedata/code-sign-action/@v1.282
with:
path-to-binary: "test"
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ runs:
GITHUB_WORKSPACE: ${{ github.workspace }}
run: |
smctl windows certsync --keypair-alias="key_464138416"
file_path="${{ env.GITHUB_WORKSPACE }}\${{ inputs.path-to-binary }}"
$file_path = "${{ env.GITHUB_WORKSPACE }}\${{ inputs.path-to-binary }}"
if (Test-Path -Path $file_path -PathType Leaf) {
smctl sign --fingerprint ${{ env.SM_CODE_SIGNING_CERT_SHA1_HASH }} --input "$f"
smctl sign verify --input "$f"
Expand Down

0 comments on commit fbafcac

Please sign in to comment.