Skip to content

Commit 1aa8e15

Browse files
authored
support macOS 'arm64' architecture (#18)
1 parent b743dd3 commit 1aa8e15

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
16+
os: [ubuntu-latest, macos-12, macos-latest, windows-latest]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919
- name: Testspace client install & config
2020
uses: ./
2121
with:

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ runs:
3232
Darwin)
3333
folder=$HOME/bin
3434
mkdir -p $folder
35+
arch=`uname -m`
36+
if [ "$arch" != "x86_64" ]; then version="-${arch}${version}"; fi
3537
curl -fsSL ${base_url}/testspace-darwin${version}.tgz | tar -zxvf- -C $RUNNER_TEMP
3638
rsync -t -u $RUNNER_TEMP/testspace $folder
3739
;;

0 commit comments

Comments
 (0)