Skip to content

Commit d9585d6

Browse files
committed
Fix Electron mirror
1 parent 3a57ce0 commit d9585d6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525

2626
- name: Build and release app
2727
env:
28+
ELECTRON_MIRROR: "https://github.com/castlabs/electron-releases/releases/download/"
2829
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2930
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
3031
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
@@ -52,6 +53,7 @@ jobs:
5253

5354
- name: Build and release app
5455
env:
56+
ELECTRON_MIRROR: "https://github.com/castlabs/electron-releases/releases/download/"
5557
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5658
run: npm run release
5759

@@ -116,7 +118,6 @@ jobs:
116118
env:
117119
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
118120
USE_SYSTEM_FPM: true
119-
ELECTRON_MIRROR: "https://registry.npmjs.org/electron/-/electron-"
120121
run: npm run release:arm64
121122

122123
publish_mac:
@@ -155,6 +156,7 @@ jobs:
155156

156157
- name: Build and release app
157158
env:
159+
ELECTRON_MIRROR: "https://github.com/castlabs/electron-releases/releases/download/"
158160
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159161
CSC_LINK: ${{ secrets.CSC_LINK }}
160162
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}

config/building/electron-builder.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ appId: app.freeshow
22
productName: FreeShow
33
artifactName: FreeShow-${version}-${arch}.${ext}
44

5-
electronDownload:
6-
mirror: https://github.com/castlabs/electron-releases/releases/download/
7-
85
files:
96
- build/electron/**
107
- build/types/**

0 commit comments

Comments
 (0)