From 53083ac44f9e09b8b8fa681bc35c17df5115417d Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 6 Mar 2022 19:56:34 +0100 Subject: [PATCH] Added MacOS build --- .../github-actions-buildelectron.yml | 5 ---- .../github-actions-buildelectronmacos.yml | 28 +++++++++++++++++++ 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/github-actions-buildelectronmacos.yml diff --git a/.github/workflows/github-actions-buildelectron.yml b/.github/workflows/github-actions-buildelectron.yml index 286342e..6e8f19e 100644 --- a/.github/workflows/github-actions-buildelectron.yml +++ b/.github/workflows/github-actions-buildelectron.yml @@ -39,11 +39,6 @@ jobs: GH_TOKEN: ${{ secrets.GH_TOKEN }} run: | quasar build --mode electron --publish always -T win - - name: MacOS 64bit - env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - run: | - quasar build --mode electron --publish always -T darwin - name: Linux armv7l env: GH_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/.github/workflows/github-actions-buildelectronmacos.yml b/.github/workflows/github-actions-buildelectronmacos.yml new file mode 100644 index 0000000..8f470c9 --- /dev/null +++ b/.github/workflows/github-actions-buildelectronmacos.yml @@ -0,0 +1,28 @@ +name: Node CI MacOS + +on: + push: + branches: + - master + workflow_dispatch: + +jobs: + build_and_test: + runs-on: macos-11 + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '14' + - name: dmg-license add + run: | + sudo npm install -g dmg-license + - name: MacOS 64bit + env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + run: | + rm -rf dist/ + npm install -g @quasar/cli yarn --force + yarn install + EP_GH_IGNORE_TIME=true quasar build --mode electron --publish always -T darwin \ No newline at end of file