Add devbox workflow args
Add src/devbox.json
This commit is contained in:
@@ -10,6 +10,12 @@ jobs:
|
||||
|
||||
- name: Install devbox
|
||||
uses: jetify-com/devbox-install-action@v0.12.0
|
||||
with:
|
||||
project-path: './src'
|
||||
enable-cache: 'false'
|
||||
refresh-cli: 'false'
|
||||
devbox-version: 'latest'
|
||||
disable-nix-access-token: 'false'
|
||||
|
||||
- name: Run arbitrary commands
|
||||
run: devbox run -- echo "done!"
|
||||
|
||||
15
src/devbox.json
Normal file
15
src/devbox.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.7/.schema/devbox.schema.json",
|
||||
"packages": [],
|
||||
"shell": {
|
||||
"init_hook": [
|
||||
"echo 'Welcome to devbox!' > /dev/null"
|
||||
],
|
||||
"scripts": {
|
||||
"test": [
|
||||
"echo \"Error: no test specified\" && exit 1"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user