2022-08-27 09:27:07 +02:00
|
|
|
name: Create artifact [MAC]
|
2022-08-27 09:02:09 +02:00
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch: {}
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Check out Git repository
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Install Node.js
|
|
|
|
uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version: 16
|
|
|
|
|
|
|
|
- name: npm install & build
|
|
|
|
run: |
|
|
|
|
npm install
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
- name: Upload Artifact
|
|
|
|
uses: actions/upload-artifact@v3
|
|
|
|
with:
|
2022-08-27 09:27:07 +02:00
|
|
|
name: macos-build
|
2022-08-27 09:02:09 +02:00
|
|
|
retention-days: 3
|
|
|
|
path: |
|
|
|
|
build
|
|
|
|
!build/*-unpacked
|
|
|
|
!build/.icon-ico
|