We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ceb9163 commit f7b7c6fCopy full SHA for f7b7c6f
1 file changed
action.yml
@@ -82,6 +82,8 @@ runs:
82
# Perform a HEAD request to check if the zip is available
83
status_code=$(curl --silent --output /dev/null --write-out "%{http_code}" --head "$zipurl")
84
if [ "$status_code" -eq 200 ]; then
85
+ # One more sleep before downloading to ensure the file is fully available
86
+ sleep $sleep
87
curl --silent --output "${PLUGIN}.zip" "$zipurl"
88
# Calculate SHA-256 hash of the downloaded zip
89
sha256=$(sha256sum "${PLUGIN}.zip" | cut -d' ' -f1)
0 commit comments