-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (33 loc) · 1.07 KB
/
release.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
name: release
on:
push:
tags:
# Match any tags that start with 'v'
- v*
jobs:
release-fms-file-explorer-desktop:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@main
with:
ref: ${{ github.event.client_payload.ref }}
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@main
with:
node-version: 16
- name: Build/release Electron app
uses: AllenCellSoftware/action-electron-builder@fms-file-explorer
env:
AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
package_root: "packages/desktop"
release: true
windows_certs: ${{ secrets.CSC_LINK }}
windows_certs_password: ${{ secrets.CSC_KEY_PASSWORD }}