Skip to content

Commit ed1c62b

Browse files
committed
update script and runs-on
1 parent 23242cb commit ed1c62b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/release-publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on:
66
branches:
77
- feature/electron
88
jobs:
9-
release-windows:
10-
runs-on: windows-latest
9+
release:
10+
runs-on: macos-latest
1111

1212
# strategy:
1313
# matrix:
14-
# os:
14+
# os: [macos-latest, windows-latest]
1515

1616
steps:
1717
- name: Check out Git repository
@@ -28,7 +28,7 @@ jobs:
2828
# GitHub token, automatically provided to the action
2929
# (No need to define this secret in the repo settings)
3030
github_token: ${{ secrets.github_token }}
31-
build_script_name: releaseElectron:win
31+
build_script_name: packElectron
3232

3333
# If the commit is tagged with a version (e.g. "v1.0.0"),
3434
# release the app after building

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"main": "packages/apps-electron/build/electron.js",
55
"description": "An Apps portal into the Polkadot network",
66
"author": "chainx-org",
7-
"version": "2.1.8",
7+
"version": "2.1.9",
88
"license": "Apache-2",
99
"private": true,
1010
"homepage": ".",
@@ -46,7 +46,7 @@
4646
"packElectron:win": "yarn build:release:electron && electron-builder build --win",
4747
"releaseElectron:win": "yarn build:electron && yarn clean:electronRelease && electron-builder build --win -p always",
4848
"packElectron:linux": "yarn build:release:electron && electron-builder build --linux",
49-
"packElectron": "yarn build:release:electron && yarn clean:electronRelease && electron-builder build -mwl",
49+
"packElectron": "yarn build:electron && yarn clean:electronRelease && electron-builder build -mwl",
5050
"docs": "echo \"skipping docs\"",
5151
"clean": "polkadot-dev-clean-build",
5252
"clean:electronBuild": "cd packages/apps-electron && polkadot-dev-clean-build",

0 commit comments

Comments
 (0)