Skip to content

Commit

Permalink
name cleanup + add H100 runner + install curl
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 16, 2024
1 parent c54bd34 commit a0536a6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/actions/fetch_ctk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,18 @@ runs:
echo "CTK_CACHE_FILENAME=mini-ctk-${{ inputs.cuda-version }}-${{ inputs.host-platform }}.tar.gz" >> $GITHUB_ENV
- name: Install mini CTK action dependencies
if: ${{ runner.environment == 'self-hosted' }}
shell: bash --noprofile --norc -xeuo pipefail {0}
run: |
apt update
apt install zstd sudo
sudo apt install -y curl
if (command -v curl 2>&1 >/dev/null) && (command -v zstd 2>&1 >/dev/null); then
echo "All dependencies are found. Do nothing."
exit 0
fi
if ! command -v sudo 2>&1 >/dev/null; then
echo "The following oprations require sudo access."
exit 1
fi
sudo apt update
sudo apt install -y zstd curl
- name: Download CTK cache
id: ctk-get-cache
Expand Down

0 comments on commit a0536a6

Please sign in to comment.