Skip to content

Commit

Permalink
chore: fix windows checksum for stagenet (#5635)
Browse files Browse the repository at this point in the history
Description
---
Commit #5581 
Cherry picked for windows

Motivation and Context
---
Windows binaries need checksum to upload
  • Loading branch information
SWvheerden authored Aug 11, 2023
2 parents 8be0e5b + 8d06a29 commit f73ef19
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ jobs:
vcpkg.exe install sqlite3:x64-windows zlib:x64-windows
# Bug in choco - need to install each package individually
choco upgrade llvm -y
choco upgrade psutils -y
# psutils is out of date
# choco upgrade psutils -y
choco upgrade openssl -y
choco upgrade strawberryperl -y
Expand Down Expand Up @@ -182,7 +183,11 @@ jobs:
if: startsWith(runner.os,'Windows')
shell: bash
run: |
echo "SHARUN=pwsh C:\ProgramData\chocolatey\lib\psutils\tools\psutils-master\shasum.ps1 --algorithm 256" >> $GITHUB_ENV
# echo "SHARUN=pwsh C:\ProgramData\chocolatey\lib\psutils\tools\psutils-master\shasum.ps1 --algorithm 256" >> $GITHUB_ENV
mkdir -p "$GITHUB_WORKSPACE\psutils"
curl -v -o "$GITHUB_WORKSPACE\psutils\getopt.ps1" "https://raw.githubusercontent.com/lukesampson/psutils/master/getopt.ps1"
curl -v -o "$GITHUB_WORKSPACE\psutils\shasum.ps1" "https://raw.githubusercontent.com/lukesampson/psutils/master/shasum.ps1"
echo "SHARUN=pwsh $GITHUB_WORKSPACE\psutils\shasum.ps1 --algorithm 256" >> $GITHUB_ENV
echo "TBN_EXT=.exe" >> $GITHUB_ENV
echo "LIB_EXT=.dll" >> $GITHUB_ENV
echo "LIB_PRE=" >> $GITHUB_ENV
Expand Down Expand Up @@ -367,6 +372,7 @@ jobs:
path: "${{ github.workspace }}/buildtools/Output/*"

- name: Archive and Checksum Binaries
# if: "!startsWith(runner.os,'Windows')" # Disable checksum for Windows - workaround
shell: bash
run: |
echo "Archive ${{ env.BINFILE }} too ${{ env.BINFILE }}.zip"
Expand Down

0 comments on commit f73ef19

Please sign in to comment.