Skip to content

Commit 0c6680d

Browse files
committed
ci: fix checksum on macOS — use shasum instead of sha256sum
1 parent 0c3a334 commit 0c6680d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,12 @@ jobs:
6868
if: runner.os == 'Windows'
6969
shell: pwsh
7070
run: Compress-Archive -Path target/${{ matrix.target }}/production/ferrumc.exe -DestinationPath ferrumc-${{ github.ref_name }}-${{ matrix.target }}.zip
71-
- name: Checksum (Linux/macOS)
72-
if: runner.os != 'Windows'
71+
- name: Checksum (Linux)
72+
if: runner.os == 'Linux'
7373
run: sha256sum ferrumc-${{ github.ref_name }}-${{ matrix.target }}.tar.gz > ferrumc-${{ github.ref_name }}-${{ matrix.target }}.tar.gz.sha256
74+
- name: Checksum (macOS)
75+
if: runner.os == 'macOS'
76+
run: shasum -a 256 ferrumc-${{ github.ref_name }}-${{ matrix.target }}.tar.gz > ferrumc-${{ github.ref_name }}-${{ matrix.target }}.tar.gz.sha256
7477
- name: Checksum (Windows)
7578
if: runner.os == 'Windows'
7679
shell: pwsh

0 commit comments

Comments
 (0)