Skip to content

Added debugging info #115

Added debugging info

Added debugging info #115

Workflow file for this run

name: Release
on:
push:
branches:
- "main"
workflow_dispatch:
jobs:
publish:
name: "Publish"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js and NPM
uses: actions/setup-node@master
with:
node-version: 18
- name: Install dependencies
# npm ci is better, but requires package-lock.json file
run: npm install
# - name: Install dmg-license
# if: startsWith(matrix.os, 'macos')
# run: npm i dmg-license
- name: Build app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
run: npm run release
# https://abskmj.github.io/notes/posts/github/actions/setup-snapcraft/
# - name: Install Snapcraft
# uses: samuelmeuli/action-snapcraft@v1
# if: startsWith(matrix.os, 'ubuntu')
# with:
# snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
# Mac building fails for some reason when in the same matrix as the other builds or without the other builds,
# So that's why it is here:
publish_mac:
name: "Publish MacOS"
runs-on: macos-latest
steps:

Check failure on line 54 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 54
- name: Check out Git repository
uses: actions/checkout@v2
- name: Install Node.js and NPM
uses: actions/setup-node@master
with:
node-version: 18
- name: Install node-gyp
run: npm install -g node-gyp
- name: Sleep for 10 seconds
run: sleep 10
shell: bash
- name: Install dependencies
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 10
command: npm install
- name: Install dmg-license
run: npm i dmg-license
= name: Debug Notarize
run: export DEBUG=electron-notarize
- name: Build app
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_ID: ${{ secrets.APPLEID }}
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }}
APPLE_TEAM_ID: ${{ secrets.APPLETEAMID }}
run: npm run release