Skip to content

Merge branch 'main' into releases/terminalone/app #45

Merge branch 'main' into releases/terminalone/app

Merge branch 'main' into releases/terminalone/app #45

Workflow file for this run

name: release-app
on:
push:
branches:
- releases/terminalone/app
jobs:
build_on_win:
runs-on: windows-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
steps:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: install node-gyp
run: npm i -g node-gyp@latest
- name: update path variables
run: set 'path=%path%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Current\Bin'
- name: clean npm cache
run: npm cache clean -f
- name: install dependencies
run: npm ci
- name: build for windows
run: npm run publish:app:windows
build_on_mac:
runs-on: macos-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CSC_LINK: ${{ secrets.CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
steps:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: install node-gyp
run: npm i -g node-gyp@latest
- name: clean npm cache
run: npm cache clean -f
- name: install dependencies
run: npm ci
- name: build for mac
run: npm run publish:app:mac
build_on_linux:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.7
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: install node-gyp
run: npm i -g node-gyp@latest
- name: clean npm cache
run: npm cache clean -f
- name: install dependencies
run: npm ci
- name: build for linux
run: npm run publish:app:linux