Skip to content

Commit dede093

Browse files
committed
chore: PR comments
1 parent fa794ae commit dede093

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

.github/workflows/release_macOS.yml

+14-12
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Set up Node.js
3131
uses: actions/setup-node@v3
3232
with:
33-
node-version: '18'
33+
node-version: 'latest'
3434
cache: 'yarn'
3535

3636
- name: Reconfigure git to use HTTP authentication
@@ -56,25 +56,26 @@ jobs:
5656
cp dist/latest-mac.yml dist/latest-mac-x64.yml
5757
shell: bash
5858
- name: Save latest-mac-x64.yml as an artifact
59-
uses: actions/upload-artifact@v2
59+
uses: actions/upload-artifact@v4
6060
with:
6161
name: latest-mac-x64
6262
path: dist/latest-mac-x64.yml
63+
if-no-files-found: error
6364

6465
release-arm64:
6566
runs-on: macos-latest-xlarge
6667

6768
steps:
6869
- name: Checkout code
69-
uses: actions/checkout@v3
70+
uses: actions/checkout@v4
7071
with:
7172
submodules: 'recursive'
7273
token: ${{ secrets.pat }}
7374

7475
- name: Set up Node.js
75-
uses: actions/setup-node@v3
76+
uses: actions/setup-node@v4
7677
with:
77-
node-version: '18'
78+
node-version: 'latest'
7879
cache: 'yarn'
7980

8081
- name: Reconfigure git to use HTTP authentication
@@ -100,10 +101,11 @@ jobs:
100101
cp dist/latest-mac.yml dist/latest-mac-arm64.yml
101102
shell: bash
102103
- name: Save latest-mac-arm64.yml as an artifact
103-
uses: actions/upload-artifact@v2
104+
uses: actions/upload-artifact@v4
104105
with:
105106
name: latest-mac-arm64
106107
path: dist/latest-mac-arm64.yml
108+
if-no-files-found: error
107109

108110
generate-latest-mac:
109111
needs:
@@ -113,12 +115,12 @@ jobs:
113115

114116
steps:
115117
- name: Checkout code
116-
uses: actions/checkout@v3
118+
uses: actions/checkout@v4
117119

118120
- name: Set up Node.js
119-
uses: actions/setup-node@v3
121+
uses: actions/setup-node@v4
120122
with:
121-
node-version: '18'
123+
node-version: 'latest'
122124
cache: 'yarn'
123125

124126
- name: Reconfigure git to use HTTP authentication
@@ -133,19 +135,19 @@ jobs:
133135
run: yarn setup
134136

135137
- name: Download artifacts from release-x64 and release-arm64 jobs
136-
uses: actions/download-artifact@v2
138+
uses: actions/download-artifact@v4
137139
with:
138140
name: latest-mac-x64
139141
path: dist-x64
140142

141-
- uses: actions/download-artifact@v2
143+
- uses: actions/download-artifact@v4
142144
with:
143145
name: latest-mac-arm64
144146
path: dist-arm64
145147

146148
- name: Merge YMLs
147149
run: |
148-
npm install js-yaml
150+
yarn add js-yaml
149151
node merge-yml.js
150152
working-directory: ${{ github.workspace }}
151153

package.json

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

0 commit comments

Comments
 (0)