Skip to content

Commit

Permalink
chore: added import-certificate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tiwarishubham635 authored Jan 15, 2024
1 parent f20a281 commit 1b8dc47
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,24 @@ jobs:
run: make test-docker release
- run: bash <(curl -s https://codecov.io/bash)

import-certificate:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- run: make install
- name: import-certificate
run: |
New-Item -ItemType directory -Path certificate
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CODE_SIGNING_CERTIFICATE }}'
certutil -decode certificate\certificate.txt certificate\certificate.pfx
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: certificate.pfx
path: certificate\certificate.pfx
retention-days: 1

deploy:
name: Deploy
if: success() && github.ref_type == 'tag'
Expand Down

0 comments on commit 1b8dc47

Please sign in to comment.