forked from rancher-sandbox/rancher-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1002 Bytes
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Package
on:
pull_request: {}
push: { branches: [main] }
jobs:
package:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '14.x'
# Separate 'brew install's because one line fails with an unspecified exit code of 1
- run: brew install pkg-config
- run: brew install cairo
- run: brew install pango
- run: brew install libpng
- run: brew install jpeg
- run: brew install giflib
- run: brew install librsvg
- run: npm ci
- run: npm run setupmac
- run: npm run build -- --mac --publish=never
- uses: actions/upload-artifact@v2
with:
name: rancher-desktop.dmg
path: dist/rancher-desktop*.dmg
if-no-files-found: error
- uses: actions/upload-artifact@v2
with:
name: rancher-desktop-mac.zip
path: dist/rancher-desktop*-mac.zip
if-no-files-found: error