mirror of
https://github.com/qishibo/AnotherRedisDesktopManager.git
synced 2025-12-08 20:59:50 +00:00
31 lines
610 B
YAML
31 lines
610 B
YAML
name: build_mac
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: macos-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
node-version: [14.x]
|
|
|
|
env:
|
|
GH_TOKEN: ${{secrets.GH_TOKEN}}
|
|
CSC_LINK: ${{secrets.CSC_LINK}}
|
|
CSC_KEY_PASSWORD: ${{secrets.CSC_KEY_PASSWORD}}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
- run: npm ci
|
|
- run: npm run pack:prepare
|
|
- run: npm run pack:macm1:publish
|
|
- run: npm run pack:mac:publish
|