Skip to content

Commit

Permalink
don't check-in executable anymore and build m1 version on a runner
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich committed May 17, 2024
1 parent 19d9d39 commit e14ea73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
node-version: [16.x]
os: [windows-latest, macOS-latest]
os: [windows-latest, macOS-13, macOS-latest]

steps:
- uses: actions/checkout@v1
Expand Down Expand Up @@ -141,11 +141,18 @@ jobs:
name: ubuntu-latest
path: binaries/linux

- name: Download macOS artifacts
- name: Download macOS artifacts (arm)
if: success()
uses: actions/download-artifact@master
with:
name: macOS-latest
path: binaries/darwin-arm64

- name: Download macOS artifacts
if: success()
uses: actions/download-artifact@master
with:
name: macOS-13
path: binaries/darwin

- name: Download windows artifacts
Expand All @@ -160,7 +167,6 @@ jobs:
run: |
mkdir -p bin
mv binaries/darwin/bin.exe bin/graphql-ppx-darwin-x64.exe
# this one is checked in the repo, because we don't have CI runners for it
mv binaries/darwin-arm64/bin.exe bin/graphql-ppx-darwin-arm64.exe
mv binaries/windows/bin.exe bin/graphql-ppx-win-x64.exe
mv binaries/linux/bin.exe bin/graphql-ppx-linux-x64.exe
Expand Down
Binary file removed binaries/darwin-arm64/bin.exe
Binary file not shown.

0 comments on commit e14ea73

Please sign in to comment.