From 9826c8ab851a5863a7260d3dcf4de507174bed5c Mon Sep 17 00:00:00 2001 From: Xzandro Date: Fri, 25 Oct 2024 21:24:05 +0200 Subject: [PATCH] Add mac build pipeline --- .github/workflows/build_mac.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build_mac.yml diff --git a/.github/workflows/build_mac.yml b/.github/workflows/build_mac.yml new file mode 100644 index 0000000..9ab581f --- /dev/null +++ b/.github/workflows/build_mac.yml @@ -0,0 +1,29 @@ +name: Build +on: + workflow_dispatch: + create: + tags: + - v* + +jobs: + build: + name: Build + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: 16 + - run: npm install + - run: npm run dist + - name: Set artifacts + uses: actions/upload-artifact@v2 + with: + path: | + ./dist/*.dmg + ./dist/*.yml