docs: move act runner cache
This commit is contained in:
@@ -23,6 +23,8 @@ concurrency:
|
||||
env:
|
||||
# commit tagged ? yes->prod : no->dev
|
||||
AGEBD_ENV: ${{ github.ref_type == 'tag' && 'prod' || 'dev' }}
|
||||
UV_CACHE_DIR: /sls/bd/hla/.cache/uv
|
||||
UV_LINK_MODE: copy
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -56,7 +58,6 @@ jobs:
|
||||
|
||||
- name: Run core tests
|
||||
run: |
|
||||
export UV_CACHE_DIR="/sls/bd/hla/.cache/uv"
|
||||
uv run --directory cli pytest
|
||||
uv run --directory packages/agebd pytest
|
||||
uv run --directory scripts pytest
|
||||
|
||||
@@ -42,6 +42,20 @@ tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ nod
|
||||
rm node-v20.11.1-linux-x64.tar.xz
|
||||
```
|
||||
|
||||
Change the location of the cache:
|
||||
|
||||
```
|
||||
mkdir -p /sls/bd/hla/.cache/act
|
||||
```
|
||||
|
||||
and edit `/etc/act_runner/config.yaml`
|
||||
|
||||
```
|
||||
cache:
|
||||
enabled: true
|
||||
dir: "/sls/bd/hla/.cache/act"
|
||||
```
|
||||
|
||||
## Manually run the runner
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user