Skip to content

Commit 3d830a8

Browse files
committed
ci: write separate yml files for mac release
1 parent a1d2ee0 commit 3d830a8

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/release_macOS.yml

+24
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@ jobs:
5151
run: yarn release:mac:x64
5252
env:
5353
NOTARIZE: true
54+
- name: Copy dist/latest-mac.yml to dist/latest-mac-x64.yml
55+
run: |
56+
cp dist/latest-mac.yml dist/latest-mac-x64.yml
57+
shell: bash
58+
- name: Upload yml file to release
59+
uses: ncipollo/release-action@v1.13.0
60+
with:
61+
token: ${{ secrets.WORKFLOW_TOKEN }}
62+
draft: true
63+
allowUpdates: true
64+
artifacts: |
65+
dist/latest-mac-x64.yml
5466
5567
release-arm64:
5668
runs-on: macos-latest-xlarge
@@ -86,3 +98,15 @@ jobs:
8698
run: yarn release:mac:arm64
8799
env:
88100
NOTARIZE: true
101+
- name: Copy dist/latest-mac.yml to dist/latest-mac-arm64.yml
102+
run: |
103+
cp dist/latest-mac.yml dist/latest-mac-arm64.yml
104+
shell: bash
105+
- name: Upload yml file to release
106+
uses: ncipollo/release-action@v1.13.0
107+
with:
108+
token: ${{ secrets.WORKFLOW_TOKEN }}
109+
draft: true
110+
allowUpdates: true
111+
artifacts: |
112+
dist/latest-mac-arm64.yml

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hyperplay",
3-
"version": "0.11.2",
3+
"version": "0.11.3",
44
"private": true,
55
"main": "build/electron/main.js",
66
"homepage": "./",

0 commit comments

Comments
 (0)