Skip to content

chore: add a temporary github action for testing windows code signing changes #2

chore: add a temporary github action for testing windows code signing changes

chore: add a temporary github action for testing windows code signing changes #2

name: CHRIS CERT TEST
on:
pull_request:
branches: [main]
jobs:
chris-cert-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Is this thing on
id: thing_on
run: |
echo "hi"
- name: Write client auth certificate file
id: write_client_auth_cert
env:
CLIENT_AUTH_CERT_BASE64_CONTENT: ${{ secrets.CODE_SIGNING_CERT_BASE64 }}
run: |
$p12Path = "cert.p12";
$encodedBytes = [System.Convert]::FromBase64String($env:CLIENT_AUTH_CERT_BASE64_CONTENT);
Set-Content $pfxPath -Value $encodedBytes -AsByteStream;
echo "::set-output name=p12_path::$p12Path";