Skip to content

Commit

Permalink
Fix windows release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Oct 29, 2021
1 parent da73742 commit d42e434
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ jobs:

release:
name: Release
needs: [test, self, doc-book]
#needs: [test, self, doc-book]
if: startsWith(github.ref, 'refs/tags/')
strategy:
matrix:
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
# Windows environments in github actions don't have the gnu coreutils installed,
# which includes the shasum exe, so we just use powershell instead
if [ "${{ matrix.os }}" == "windows-latest" ]; then
if [ "${{ matrix.target }}" == "x86_64-pc-windows-msvc" ]; then
echo "(Get-FileHash \"${release_tar}\" -Algorithm SHA256).Hash | Out-File -Encoding ASCII -NoNewline \"${release_tar}.sha256\"" | pwsh -c -
else
echo -n "$(shasum -ba 256 "${release_tar}" | cut -d " " -f 1)" > "${release_tar}.sha256"
Expand Down

0 comments on commit d42e434

Please sign in to comment.