File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -215,3 +215,31 @@ jobs:
215215 asset_path : ./build/Release/node-raylib.node
216216 asset_name : node-raylib-darwin-x64.node
217217 asset_content_type : application/octet-stream
218+ macos-apple-silicon :
219+ runs-on : macos-14
220+ needs : create_release
221+ steps :
222+ - name : checkout
223+ uses : actions/checkout@v2
224+ with :
225+ fetch-depth : 0
226+ - name : Cache Node Dependencies
227+ id : cache
228+ uses : actions/cache@v2
229+ with :
230+ path : ./node_modules
231+ key : modules-${{ hashFiles('package-lock.json') }}
232+ - name : Install Node Dependencies
233+ if : steps.cache.outputs.cache-hit != 'true'
234+ run : npm ci --ignore-scripts
235+ - name : Build Node Addon
236+ run : npm run compile
237+ - name : upload macos artifact
238+ uses : actions/upload-release-asset@v1
239+ env :
240+ GITHUB_TOKEN : ${{ github.token }}
241+ with :
242+ upload_url : ${{ needs.create_release.outputs.upload_url }}
243+ asset_path : ./build/Release/node-raylib.node
244+ asset_name : node-raylib-darwin-arm64.node
245+ asset_content_type : application/octet-stream
You can’t perform that action at this time.
0 commit comments