Skip to content

Commit

Permalink
chore(build): fix C: typo on build windows (#1988)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored May 7, 2024
1 parent 6a5b5c7 commit 8e32dba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- name: Setup Certificate
run: |
echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > C:\certificate.p12
echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > certificate.p12
shell: bash

- name: Set variables
Expand All @@ -36,7 +36,7 @@ jobs:
echo "CERTIFICATE_NAME=gt-certificate" >> $GITHUB_OUTPUT
echo "SM_HOST=${{ secrets.SM_HOST }}" >> "$GITHUB_ENV"
echo "SM_API_KEY=${{ secrets.SM_API_KEY }}" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_FILE=C:\certificate.p12" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_FILE=certificate.p12" >> "$GITHUB_ENV"
echo "SM_CLIENT_CERT_PASSWORD=${{ secrets.SM_CLIENT_CERT_PASSWORD }}" >> "$GITHUB_ENV"
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
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
signtool.exe sign /sha1 ${{ secrets.SM_CODE_SIGNING_CERT_SHA1_HASH }} /tr http://timestamp.digicert.com /td SHA256 /fd SHA256 "./target/wix/*.msi"
- name: Delete cert file
run: Remove-Item -Force C:\certificate.p12
run: Remove-Item -Force certificate.p12

- name: Github Release
uses: softprops/action-gh-release@v2
Expand Down

0 comments on commit 8e32dba

Please sign in to comment.