diff --git a/.github/workflows/update-hkubectl-downloads.yaml b/.github/workflows/update-hkubectl-downloads.yaml index 8c49a33..941ecd6 100644 --- a/.github/workflows/update-hkubectl-downloads.yaml +++ b/.github/workflows/update-hkubectl-downloads.yaml @@ -19,11 +19,8 @@ jobs: - name: Download latest release files from hkubectl run: | - set -e export latestVersion=$(curl -s https://api.github.com/repos/kube-HPC/hkubectl/releases/latest | jq -r .tag_name) mkdir -p site/hkubectl_files || { echo "Failed to create directory"; exit 1; } - df -h - ls -ld site site/hkubectl_files curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-linux -o site/hkubectl_files/hkubectl-linux curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-macos -o site/hkubectl_files/hkubectl-macos curl -L --retry 3 --retry-delay 5 https://github.com/kube-HPC/hkubectl/releases/download/${latestVersion}/hkubectl-win.exe -o site/hkubectl_files/hkubectl-win.exe