-
-
Notifications
You must be signed in to change notification settings - Fork 28
36 lines (36 loc) · 1.13 KB
/
build-electron-dev.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
on: push
jobs:
build:
name: Build Electron app (staging)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
env:
CONFIG_FILE: config-staging.json
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node with volta
uses: volta-cli/action@v4
- name: Install dmg-license
run: npm i dmg-license
if: matrix.os == 'macos-latest'
- name: Install dependencies
run: npm ci
- name: Decrypt keys
run: ./internals/deploy/decrypt-keys.sh
shell: bash
env:
KEYS_DECRYPT_PASSPHRASE: ${{ secrets.KEYS_DECRYPT_PASSPHRASE }}
- name: Build/release Electron app
uses: coparse-inc/action-electron-builder@v1.0.0
with:
github_token: ${{ secrets.github_token }}
args: '-p never'
- name: Store artifacts
uses: actions/upload-artifact@v3
with:
name: Wohnungsbot Installer ${{ runner.os }} ${{ github.run_number }} (${{ github.ref_name }})
path: release/Wohnungsbot*
if-no-files-found: error