File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 VERSION : $VERSION
6868 VERSION_GUI : $VERSION_GUI
6969
70+ - name : check getmonero webseed + versioned hashes file
71+ run : |
72+ CDN_URL="https://downloads.getmonero.org"
73+ if ! wget --spider "$CDN_URL/hashes-$VERSION"; then
74+ echo "Webseed FAILED: hashes-$VERSION"
75+ #exit 1
76+ fi
77+ if ! wget --spider "$CDN_URL/hashes-$VERSION_GUI"; then
78+ echo "Webseed FAILED: hashes-$VERSION_GUI"
79+ #exit 1
80+ fi
81+ for file in $(awk '/monero-/ {print $2}' "hashes.txt"); do
82+ dir=cli
83+ part="monero-$VERSION"
84+ echo $file
85+ if [[ $file =~ gui ]]; then
86+ dir=gui
87+ part="monero-gui-$VERSION_GUI"
88+ fi
89+ url=$CDN_URL/${part}/${dir}/${file}
90+ if ! wget --spider "$url"; then
91+ echo "Webseed FAILED: $url"
92+ #exit 1
93+ else
94+ echo "Webseed OK: $url"
95+ fi
96+ done
97+
7098 # note: its possible gui + cli have different versions. combine them for the key.
7199 - uses : actions/cache@v4
72100 id : binaries_cache
You can’t perform that action at this time.
0 commit comments