Skip to content

Commit

Permalink
fix: upload timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaodong authored and buxuku committed Feb 11, 2025
1 parent 33dd92a commit 7a3ff2e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,20 @@ jobs:
release:
runs-on: ${{ matrix.os }}
env:
ELECTRON_BUILDER_HTTP_TIMEOUT: 600000
ELECTRON_BUILDER_HTTP_TIMEOUT: 6000000
ELECTRON_MIRROR: "https://npmmirror.com/mirrors/electron/"
GH_TOKEN: ${{ secrets.TOKEN }}
strategy:
matrix:
# macos-13 is an intel runner, macos-14(macos-latest) is apple silicon
os: [macos-latest, windows-latest, macos-13]

steps:
- name: Check out Git repository
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 20

Expand All @@ -35,6 +36,7 @@ jobs:
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
max_attempts: 5

- name: Build/release Electron app - MacOS Intel
uses: samuelmeuli/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ mac:
win:
target:
- nsis
- portable
- zip
extraResources:
- from: ./extraResources/windows/
to: ./extraResources/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"name": "video-subtitle-master",
"description": "视频转字幕,字幕翻译软件",
"version": "1.5.1",
"version": "1.5.2",
"author": "buxuku <[email protected]>",
"main": "app/background.js",
"scripts": {
Expand Down

0 comments on commit 7a3ff2e

Please sign in to comment.