mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
16c9e6cc1b
* remove dynamic import for platform features * increase node memory limit on macOS build * fix invalid dynamic imports in renderer * remove discord-rpc import in renderer
37 lines
962 B
YAML
37 lines
962 B
YAML
name: Publish macOS (Manual)
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [macos-latest]
|
|
|
|
steps:
|
|
- name: Checkout git repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Node and PNPM
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Build and Publish releases
|
|
env:
|
|
NODE_OPTIONS: --max-old-space-size=4096
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
uses: nick-invision/retry@v3.0.2
|
|
with:
|
|
timeout_minutes: 30
|
|
max_attempts: 3
|
|
retry_on: error
|
|
command: |
|
|
pnpm run publish:mac
|
|
on_retry_command: pnpm cache delete
|