-
Notifications
You must be signed in to change notification settings - Fork 57
87 lines (68 loc) · 2.51 KB
/
dev-builds.yml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Dev Build
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build_linux_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 20
- name: Get App Version
uses: nyaa8/package-version@05847b5b2b4e8cefeca8d50ee5940a6445a5773a
- name: install dependencies
run: npm cache clean --force && npm run init
- name: Build app
run: npm run build:linux
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: linux-build
path: 'dist/DeFi Wallet-${{ env.PACKAGE_VERSION}}.AppImage'
build_mac_version:
runs-on: macos-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 20
- name: Get App Version
uses: nyaa8/package-version@05847b5b2b4e8cefeca8d50ee5940a6445a5773a
- name: install dependencies
run: npm cache clean --force && npm run init
- name: Build app
run: npm run build:mac
env:
CSC_LINK: ${{ secrets.CSC_LINK}}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD}}
CI: true
APPLE_ID: ${{ secrets.APPLE_ID}}
TEAM_ID: ${{ secrets.TEAM_ID}}
APPLE_ID_PASS: ${{ secrets.APPLE_ID_PASS}}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_ID_PASS}}
CSC_FOR_PULL_REQUEST: true
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: mac-build
path: 'dist/DeFi Wallet-${{ env.PACKAGE_VERSION}}.dmg'
build_windows_version:
runs-on: windows-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
with:
node-version: 20
- name: Get App Version
uses: nyaa8/package-version@05847b5b2b4e8cefeca8d50ee5940a6445a5773a
- name: install dependencies
run: npm cache clean --force && npm run init
- name: Build app
run: npm run build:win
shell: powershell
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3
with:
name: win-build
path: 'dist/DeFi Wallet Setup ${{ env.PACKAGE_VERSION}}.exe'