[skip mac][skip linux][skip arm-linux] #628
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: mac-arm | |
on: | |
push: | |
branches: [ build, test ] | |
jobs: | |
build: | |
runs-on: macos-12 | |
environment: build | |
if: "!contains(github.event.head_commit.message, '[skip build]') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip mac]') && !contains(github.event.head_commit.message, '[skip arm]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
# before_install: | |
- run: pip install setuptools | |
- run: npm install -g yarn | |
- run: npm i | |
# script: | |
- run: npm run prepare-build | |
- name: build | |
if: "!contains(github.event.head_commit.message, 'skip build')" | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BUILD_NUMBER: ${{ secrets.BUILD_NUMBER }} | |
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.APPLE_TEAM_ID}} | |
CUSTOM_UPLOAD_URL: ${{ secrets.CUSTOM_UPLOAD_URL }} | |
run: node build/bin/build-mac-arm | |