fix: windows release doesn't include git

This commit is contained in:
Tienson Qin
2021-09-23 22:02:27 +08:00
parent 50a42a112c
commit 62bf4034ff

View File

@@ -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