Skip to content

Commit

Permalink
turn off windows codesigning for now in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Aug 25, 2024
1 parent 0c95771 commit e946f40
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,26 @@ jobs:
node-version: 16
cache: npm

- name: Codesign setup for Windows
#if: matrix.os == 'windows-latest' && startsWith(github.ref, 'refs/tags/')
id: write_file
uses: timheuer/[email protected]
with:
fileName: "win-cert.p12"
encodedString: ${{ secrets.WINDOWS_CERTIFICATE_P12 }}
# - name: Codesign setup for Windows
# #if: matrix.os == 'windows-latest' && startsWith(github.ref, 'refs/tags/')
# id: write_file
# uses: timheuer/[email protected]
# with:
# fileName: "win-cert.p12"
# encodedString: ${{ secrets.WINDOWS_CERTIFICATE_P12 }}

- name: Build
run: |
$env:CSC_LINK="${{ steps.write_file.outputs.filePath }}"
# $env:CSC_LINK="${{ steps.write_file.outputs.filePath }}"
npm install --save-dev cross-env
npm install
npm run pack
npm run dist:draft

- name: Publish
continue-on-error: true
if: "contains(github.event.head_commit.message, '[publish]')"
#if: (github.event_name == 'release') # or values = 'push' or 'pull_request'
if: "contains(github.event.head_commit.message, '[publish]')"
run: |
$env:CSC_LINK="${{ steps.write_file.outputs.filePath }}"
npm run dist
Expand Down

0 comments on commit e946f40

Please sign in to comment.