mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 14:45:38 +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
@@ -21,7 +21,8 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 17.8.0
|
||||
# cache: 'yarn'
|
||||
cache: 'yarn'
|
||||
cache-dependency-path: ./nerfactory/viewer/app/yarn.lock
|
||||
|
||||
- name: Install packages
|
||||
run: yarn install
|
||||
@@ -71,4 +72,4 @@ jobs:
|
||||
- run: ssh github_action_remote_machine 'rm -rf /home/eweb0124/viewer/branch/${{ env.BRANCH_NAME }}'
|
||||
- run: scp -r ./nerfactory/viewer/app/build github_action_remote_machine:/home/eweb0124/
|
||||
# TODO(ethan): move the current version to an older folder
|
||||
- run: ssh github_action_remote_machine 'mv /home/eweb0124/build /home/eweb0124/viewer/branch/${{ env.BRANCH_NAME }}'
|
||||
- run: ssh github_action_remote_machine 'mv /home/eweb0124/build /home/eweb0124/viewer/branch/${{ env.BRANCH_NAME }}'
|
||||
Reference in new issue
Block a user