Skip to content

Commit 9619cd7

Browse files
committed
Upload for macOS
1 parent cdf933d commit 9619cd7

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
with:
175175
upload_url: ${{ steps.create_release.outputs.upload_url }}
176176
asset_path: artifacts/linux-aarch64-${{matrix.llvm_version}}/llvm.tar.xz
177-
asset_name: linux-aarch64.tar.xz
177+
asset_name: llvm-linux-aarch64.tar.xz
178178
asset_content_type: application/gzip
179179

180180
- name: Upload Release Asset Linux (RISCV64)
@@ -184,7 +184,7 @@ jobs:
184184
with:
185185
upload_url: ${{ steps.create_release.outputs.upload_url }}
186186
asset_path: artifacts/linux-riscv64-${{matrix.llvm_version}}/llvm.tar.xz
187-
asset_name: linux-riscv64.tar.xz
187+
asset_name: llvm-linux-riscv64.tar.xz
188188
asset_content_type: application/gzip
189189

190190
- name: Upload Release Asset Darwin
@@ -197,6 +197,16 @@ jobs:
197197
asset_name: llvm-darwin-amd64.tar.xz
198198
asset_content_type: application/gzip
199199

200+
- name: Upload Release Asset Darwin (aarch64)
201+
uses: actions/upload-release-asset@v1
202+
env:
203+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
204+
with:
205+
upload_url: ${{ steps.create_release.outputs.upload_url }}
206+
asset_path: artifacts/darwin-aarch64-${{matrix.llvm_version}}/llvm.tar.xz
207+
asset_name: llvm-darwin-aarch64.tar.xz
208+
asset_content_type: application/gzip
209+
200210
- name: Upload Release Asset Windows
201211
uses: actions/upload-release-asset@v1
202212
env:

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,25 +52,27 @@ assets](https://github.com/wasmerio/llvm-custom-builds/releases).
5252
<td rowspan="5">18</td>
5353
<td rowspan="3">amd64</td>
5454
<td>Darwin</td>
55-
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/darwin-amd64.tar.gz">download</a></td>
55+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-darwin-amd64.tar.xz">download</a></td>
5656
</tr>
5757
<tr>
5858
<td>Linux</td>
59-
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/linux-amd64.tar.gz">download</a></td>
59+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-linux-amd64.tar.xz">download</a></td>
6060
</tr>
6161
<tr>
6262
<td>Windows</td>
63-
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/windows-amd64.tar.gz">download</a></td>
63+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-windows-amd64.tar.xz">download</a></td>
6464
</tr>
6565
<tr>
66-
<td>aarch64</td>
66+
<td rowspan="2">aarch64</td>
6767
<td>Linux</td>
68-
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/linux-aarch64.tar.gz">download</a></td>
68+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-linux-aarch64.tar.xz">download</a></td>
69+
<td>Darwin</td>
70+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-darwin-aarch64.tar.xz">download</a></td>
6971
</tr>
7072
<tr>
7173
<td>riscv64</td>
7274
<td>Linux</td>
73-
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/linux-riscv64.tar.gz">download</a></td>
75+
<td><a href="https://github.com/wasmerio/llvm-custom-builds/releases/download/18.x/llvm-linux-riscv64.tar.xz">download</a></td>
7476
</tr>
7577
<tr>
7678
<td rowspan="5">16</td>

0 commit comments

Comments
 (0)