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 -q "$CDN_URL/hashes-$VERSION"; then
74+ echo "::warning title=Torrent-Webseed-URLs::FAILED: $CDN_URL/hashes-$VERSION"
75+ fi
76+ if ! wget --spider -q "$CDN_URL/hashes-$VERSION_GUI"; then
77+ echo "::warning title=Torrent-Webseed-URLs::FAILED: $CDN_URL/hashes-$VERSION_GUI"
78+ fi
79+ for file in $(awk '/monero-/ {print $2}' "hashes.txt"); do
80+ dir=cli
81+ part="monero-$VERSION"
82+ if [[ $file =~ gui ]]; then
83+ dir=gui
84+ part="monero-gui-$VERSION_GUI"
85+ fi
86+ url=$CDN_URL/${part}/${dir}/${file}
87+ if ! wget --spider -q "$url"; then
88+ echo "::warning title=Torrent-Webseed-URLs::FAILED: $url"
89+ fi
90+ done
91+
7092 # note: its possible gui + cli have different versions. combine them for the key.
7193 - uses : actions/cache@v4
7294 id : binaries_cache
You can’t perform that action at this time.
0 commit comments