Skip to content

Commit 071c343

Browse files
committed
Add macOS-arm64 version of the pre-built binaries in the releases
1 parent 449ff42 commit 071c343

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/actions/prepare-distribution/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ runs:
3838
--version "${{ inputs.version-name }}" \
3939
--target "macos-x64"
4040
41+
- name: Package distribution (macOS-arm64)
42+
shell: bash
43+
run: |
44+
python3 ./.github/workflows/scripts/package-distribution.py \
45+
--input package-macOS-arm64/ \
46+
--dest package/ \
47+
--version "${{ inputs.version-name }}" \
48+
--target "macos-arm64"
49+
4150
- name: Package distribution (Windows-X64)
4251
shell: bash
4352
run: |

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,12 @@ jobs:
525525
name: mithril-distribution-macOS-X64
526526
path: ./package-macOS-X64
527527

528+
- name: Download built artifacts (macOS-arm64)
529+
uses: actions/download-artifact@v4
530+
with:
531+
name: mithril-distribution-macOS-arm64
532+
path: ./package-macOS-arm64
533+
528534
- name: Download built artifacts (Windows-X64)
529535
uses: actions/download-artifact@v4
530536
with:

.github/workflows/pre-release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ jobs:
4545
workflow: ci.yml
4646
workflow_conclusion: success
4747

48+
- name: Download built artifacts (macOS-arm64)
49+
uses: dawidd6/action-download-artifact@v3
50+
with:
51+
name: mithril-distribution-macOS-arm64
52+
path: ./package-macOS-arm64
53+
commit: ${{ github.sha }}
54+
workflow: ci.yml
55+
workflow_conclusion: success
56+
4857
- name: Download built artifacts (Windows-x64)
4958
uses: dawidd6/action-download-artifact@v3
5059
with:

0 commit comments

Comments
 (0)