Skip to content

Commit

Permalink
feat(workflows): add support for ARM Macs in release.yml (#28)
Browse files Browse the repository at this point in the history
* feat(workflows): add support for ARM Macs in release.yml

This commit adds support for ARM Macs in the release.yml workflow by including a new target and os combination. Additionally, Node.js is now set up and dependencies are installed before uploading release assets.
  • Loading branch information
DieHard073055 authored May 3, 2023
1 parent 5855e89 commit 926a7b1
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
target:
- x86_64-unknown-linux-gnu
- aarch64-apple-darwin
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -52,6 +53,13 @@ jobs:
draft: false
prerelease: false

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Install deps
run: npm install @actions/glob
- name: Upload release assets
uses: actions/github-script@v5
with:
Expand Down

0 comments on commit 926a7b1

Please sign in to comment.