1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-18 12:40:41 +01:00
antares/.github/workflows/create-artifact-macos.yml

61 lines
1.3 KiB
YAML
Raw Normal View History

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
2024-06-20 08:17:09 +02:00
uses: actions/checkout@v4
2022-08-27 09:02:09 +02:00
- name: Install Node.js
2024-06-20 08:17:09 +02:00
uses: actions/setup-node@v4
2022-08-27 09:02:09 +02:00
with:
2023-11-16 18:01:40 +01:00
node-version: 20
- name: npm install & build
run: |
npm install
npm install "dmg-license" --save-optional
2023-11-16 18:01:40 +01:00
npm run build
- name: Upload Artifact
2024-06-20 08:17:09 +02:00
uses: actions/upload-artifact@v4
2023-11-16 18:01:40 +01:00
with:
name: macos-build
retention-days: 3
path: |
build
!build/*-unpacked
!build/.icon-ico
build-beta:
runs-on: macos-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
with:
ref: beta
- name: Install Node.js
2024-06-20 08:17:09 +02:00
uses: actions/setup-node@v4
2023-11-16 18:01:40 +01:00
with:
node-version: 20
2022-08-27 09:02:09 +02:00
- name: npm install & build
run: |
npm install
npm install "dmg-license" --save-optional
2022-08-27 09:02:09 +02:00
npm run build
- name: Upload Artifact
2024-06-20 08:17:09 +02:00
uses: actions/upload-artifact@v4
2022-08-27 09:02:09 +02:00
with:
2024-06-19 09:08:25 +02:00
name: macos-build-beta
2022-08-27 09:02:09 +02:00
retention-days: 3
path: |
build
!build/*-unpacked
!build/.icon-ico