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 13aefde commit 50904f6
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build-desktop-release.yml
Expand Up @@ -155,19 +155,12 @@ 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.txt
encodedString: ${{ secrets.WIN_CSC_LINK }}

- name: Build/Release Electron app
run: yarn electron:make
working-directory: ./static
env:
WIN_CSC_LINK: ${{ steps.write_file.outputs.filePath }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.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 50904f6

Please sign in to comment.