Skip to content

Commit 44c59c2

Browse files
committed
Fix artifact names
1 parent 15c43eb commit 44c59c2

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,24 +198,31 @@ jobs:
198198
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
199199
with:
200200
upload_url: ${{ needs.create_release.outputs.upload_url }}
201-
asset_path: ./codon-darwin-x86_64.tar.gz
202-
asset_name: codon-darwin-x86_64.tar.gz
201+
asset_path: ./codon-darwin-arm64.tar.gz
202+
asset_name: codon-darwin-arm64.tar.gz
203203
asset_content_type: application/gzip
204204

205205
- name: Upload Artifacts
206206
if: startsWith(matrix.os, 'macos')
207207
uses: actions/upload-artifact@v4
208208
with:
209-
name: ${{ matrix.os }}-x86_64
210-
path: codon-darwin-x86_64.tar.gz
209+
name: ${{ matrix.os }}-arm64
210+
path: codon-darwin-arm64.tar.gz
211211

212212
- name: Upload Artifacts
213-
if: startsWith(matrix.os, 'ubuntu')
213+
if: startsWith(matrix.os, 'ubuntu') && matrix.os != 'ubuntu-arm-latest'
214214
uses: actions/upload-artifact@v4
215215
with:
216216
name: ${{ matrix.os }}-x86_64
217217
path: codon-linux-x86_64.tar.gz
218218

219+
- name: Upload Artifacts
220+
if: matrix.os == 'ubuntu-arm-latest'
221+
uses: actions/upload-artifact@v4
222+
with:
223+
name: ${{ matrix.os }}-arm64
224+
path: codon-linux-arm64.tar.gz
225+
219226
- name: Publish Package
220227
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && startsWith(matrix.os, 'ubuntu')
221228
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)