Skip to content

Commit

Permalink
fix: windows release doesn't include git
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Sep 23, 2021
1 parent 50a42a1 commit 62bf403
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/build-desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,15 +140,23 @@ jobs:
with:
node-version: 16

# - name: Cache Node Modules
# uses: actions/cache@v2
# with:
# path: |
# **/node_modules
# key: ${{ runner.os }}-node-modules
- name: Cache Node Modules
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-node-modules

- name: Deps Electron app
run: yarn install
working-directory: ./static

- name: Fix Deps Electron app
run: yarn run postinstall
working-directory: ./static/node_modules/dugite/

- name: Build/Release Electron app
run: yarn install && yarn electron:make
run: yarn electron:make
working-directory: ./static

- name: Change Artifact Name
Expand Down

0 comments on commit 62bf403

Please sign in to comment.