-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (43 loc) · 1.28 KB
/
dry-run.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
name: Release Dry Run
on:
push:
branches:
- '*'
jobs:
build-test:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Windows only, install wget
if: ${{ runner.os == 'Windows' }}
run: |
choco install wget --no-progress
- name: Run install
run: |
yarn install --frozen-lockfile
- name: setup for codesigning (macos only)
if: ${{ runner.os == 'macOs' }}
uses: figleafteam/import-codesign-certs@v2
with:
p12-file-base64: ${{ secrets.HBE_APPLE_CERTIFICATE_BASE64 }}
p12-password: ${{ secrets.HBE_APPLE_CERTIFICATE_PASS }}
- name: build acorn (and notarize it- macos only)
env:
APPLE_DEV_IDENTITY: ${{ secrets.APPLE_DEV_IDENTITY }}
APPLE_ID_EMAIL: ${{ secrets.APPLE_ID_EMAIL }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
DEBUG: electron-osx-sign*,electron-notarize*
run: |
yarn run build
shell: bash