Skip to content

nv-gha-runners/setup-proxy-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

setup-proxy-cache

This composite action is intended to be used on NVIDIA Self-Hosted runners.

It will setup a proxy as a cache for different package managers.

Currently this action supports the following package managers:

  • pip
  • conda
  • pypi-anaconda
  • apt

Inputs

This action supports the following inputs

Input Type Default Description
enable-pip bool true Setup pip to use the proxy as a cache
enable-conda bool true Setup conda to use the proxy as a cache
enable-pypi-anaconda bool true Export the pypi-anaconda proxy cache URL to NV_GHA_RUNNERS_PYPI_ANACONDA_CACHE_URL
enable-apt bool false Setup apt to use the proxy as a cache

Example

name: Use proxy cache on: push: branches: - main jobs: example: runs-on: linux-amd64-cpu4 container: image: rapidsai/ci-conda:cuda11.8.0-ubuntu22.04-py3.10 steps: - name: Setup proxy cache uses: nv-gha-runners/setup-proxy-cache@main - name: Install rapids with conda run: conda install rapids=24.10

About

GitHub Action for enabling conda/pip package caching in CI workflows via a self-hosted proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors