Skip to content

Commit

Permalink
Merge pull request #2747 from CityOfZion/CU-86dun1rfb
Browse files Browse the repository at this point in the history
86dun1rfb - NEON2 - Migrate MacOS automated build to github actions and guarantee signing
  • Loading branch information
raulduartep authored Sep 16, 2024
2 parents 54f8d96 + 05c1583 commit 0c17ecb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ workflows:
deploy:
jobs:
# build artifacts only on tags with name v.*
- build_macos:
filters:
branches:
ignore: /.*/
tags:
only: /v.*/
- build_win:
filters:
branches:
Expand Down
43 changes: 43 additions & 0 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build and Release macOS

on:
push:
tags:
- 'v*'

jobs:
build_macos:
runs-on: macos-latest
env:
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
DEBUG: ${{ secrets.DEBUG }}
MAIN_VITE_SENTRY_DSN: ${{ secrets.MAIN_VITE_SENTRY_DSN }}
RENDERER_VITE_SENTRY_DSN: ${{ secrets.RENDERER_VITE_SENTRY_DSN }}
NODE_OPTIONS: ${{ secrets.NODE_OPTIONS }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
steps:
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.19.1'
cache: 'yarn'

- name: Install dependencies
run: brew install python-setuptools

- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 1500000

- name: Install dependencies
run: yarn add node-pre-gyp --force

- name: Build macOS app
run: yarn release:mac

0 comments on commit 0c17ecb

Please sign in to comment.