Commit a8ae2e0 1 parent 4bbbb36 commit a8ae2e0 Copy full SHA for a8ae2e0
File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 27
27
- runner : macos-latest
28
28
target : x86_64-apple-darwin
29
29
platform : darwin-amd64
30
+ os : macOS
30
31
- runner : macos-latest
31
32
target : aarch64-apple-darwin
32
33
platform : darwin-arm64
34
+ os : macOS
33
35
- runner : windows-latest
34
36
platform : windows-amd64
35
37
target : x86_64-pc-windows-msvc
@@ -114,6 +116,8 @@ jobs:
114
116
# Calculate SHA256 of the binary
115
117
if [[ "${{ matrix.platform }}" == "windows-amd64" ]]; then
116
118
SHA256=$(certutil -hashfile cli/${{ matrix.platform }}/hasura-ndc-sqlserver.exe SHA256 | grep -v "hash" | awk '{print $1}')
119
+ elif [[ "${{ matrix.os }}" == "macOS" ]]; then
120
+ SHA256=$(shasum -a 256 cli/${{ matrix.platform }}/hasura-ndc-sqlserver | cut -d' ' -f1)
117
121
else
118
122
SHA256=$(sha256sum cli/${{ matrix.platform }}/hasura-ndc-sqlserver | cut -d' ' -f1)
119
123
fi
You can’t perform that action at this time.
0 commit comments