Skip to content

macos-x64-build

macos-x64-build #13

name: macos-x64-build
on: workflow_dispatch
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '21'
- name: build app
run: |
cd gui
yarn install
NODE_OPTIONS="--max-old-space-size=4096" yarn build:tunnel
NODE_OPTIONS="--max-old-space-size=4096" yarn build:script
NODE_OPTIONS="--max-old-space-size=4096" yarn build:proxy
yarn build-ztm-macos-x64
NODE_OPTIONS="--max-old-space-size=4096" yarn build:base
- uses: actions/upload-artifact@v2
with:
name: release
path: ./gui/src-tauri/target/release/bundle/dmg/ztm_${{ vars.APP_VERSION }}_x64.dmg