Skip to content

Commit

Permalink
ci: another try
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 24, 2021
1 parent 6bb9e79 commit f24211d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-desktop-release.yml
Expand Up @@ -155,12 +155,19 @@ jobs:
run: yarn run postinstall
working-directory: ./static/node_modules/dugite/

- name: Add Windows certificate
id: write_file
uses: timheuer/base64-to-file@v1
with:
fileName: ~/cert
encodedString: ${{ secrets.WIN_CSC_LINK }}

- name: Build/Release Electron app
run: yarn electron:make
working-directory: ./static
env:
WIN_CSC_LINK: ${{ secrets.CSC_LINK }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
WIN_CSC_LINK: ~/cert
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}

- name: Change Artifact Name
run: Get-ChildItem static\out\make\squirrel.windows\x64\*.exe | Rename-Item -NewName Logseq-win64.exe
Expand Down

0 comments on commit f24211d

Please sign in to comment.