mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-13 11:24:00 +08:00
Cache envs for faster github actions (#291)
* Cache pip for faster actions * Add caching to viewer * Fix Path * typo * try path again * Fancier caching
This commit is contained in:
1 parent
7523e2dd6d
commit
68f4370133
2 files changed
+9
-6
No files matched your search
@@ -16,14 +16,16 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python 3.8.12
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.8.12'
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ env.pythonLocation }}
|
||||
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r environment/requirements.txt
|
||||
pip install -e .
|
||||
pip install --upgrade --upgrade-strategy eager -r environment/requirements.txt -e .
|
||||
- name: Run license checks
|
||||
run: |
|
||||
./scripts/licensing/license_headers.sh --check
|
||||
|
||||
Reference in new issue
Block a user