test #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Windows only, install wget | |
if: ${{ runner.os == 'Windows' }} | |
run: | | |
choco install wget --no-progress | |
- name: Install nodejs dependencies | |
run: | | |
npm ci | |
shell: bash | |
- 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: | | |
npm run build | |
shell: bash |