Skip to content

Commit

Permalink
chore: testing installation of digicert tools
Browse files Browse the repository at this point in the history
  • Loading branch information
cprice404 committed Mar 26, 2024
1 parent e65269c commit acf6fa0
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/cert-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
# $procLog.Kill()
# shell: powershell
#
# - name: Add digicert tools to path
# run: |
# echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH
# echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH
# echo "C:\Program Files\DigiCert\DigiCert One Signing Manager Tools" >> $GITHUB_PATH
# shell: bash
- name: Add digicert tools to path
run: |
echo "C:\Program Files (x86)\Windows Kits\10\App Certification Kit" >> $GITHUB_PATH
echo "C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools" >> $GITHUB_PATH
echo "C:\Program Files\DigiCert\DigiCert One Signing Manager Tools" >> $GITHUB_PATH
shell: bash
#
# - name: Check path
# run: |
Expand Down Expand Up @@ -79,12 +79,12 @@ jobs:
# signtool.exe sign /sha1 ${{ secrets.CODE_SIGNING_CERT_SHA1_HASH }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "smtools-windows-x64.msi"
# signtool.exe verify /v /pa "smtools-windows-x64.msi"

- name: Test and cache signtool path
id: signtool
run: |
$signtool = "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe"
Test-Path -Path $signtool -PathType Leaf
echo "::set-output name=signtool_path::$signtool"
# - name: Test and cache signtool path
# id: signtool
# run: |
# $signtool = "C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe"
# Test-Path -Path $signtool -PathType Leaf
# echo "::set-output name=signtool_path::$signtool"

- name: Sign Momento binary
env:
Expand All @@ -99,7 +99,7 @@ jobs:
echo "HERE IS THE SIGNTOOL PATH:"
echo $env:SIGNTOOL_PATH
echo "THAT WAS THE SIGNTOOL PATH"
$env:SIGNTOOL_PATH
signtool.exe /help
shell: powershell
# "$env:SIGNTOOL_PATH" sign /sha1 ${{ secrets.CODE_SIGNING_CERT_SHA1_HASH }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 $env:MOMENTO_BINARY_PATH
# $env:SIGNTOOL_PATH verify /v /pa $env:MOMENTO_BINARY_PATH
Expand Down

0 comments on commit acf6fa0

Please sign in to comment.