Skip to content

Update signature.yml #3

Update signature.yml

Update signature.yml #3

Workflow file for this run

name: Extract EdgeDriver Certificate Thumbprint
on: [push,pull_request]
jobs:
extract_thumbprint:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download EdgeDriver
run: |
Invoke-WebRequest -Uri "https://msedgedriver.azureedge.net/130.0.2849.46/edgedriver_win64.zip" -OutFile "edgedriver.zip"
- name: Unzip EdgeDriver
run: |
Expand-Archive -Path "edgedriver.zip" -DestinationPath "edgedriver"
- name: Get Certificate Thumbprint
run: |
$certPath = "edgedriver/msedgedriver.exe" # Adjust if necessary based on extraction
$cert = Get-AuthenticodeSignature -FilePath $certPath
Write-Output "Thumbprint: $($cert.SignerCertificate.Thumbprint)"