File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' devbox installer'
2+ description : ' Install Devbox in your CICD workflow'
3+ inputs :
4+ project-path : # id of input
5+ description : ' Project path to devbox.json. Default to the root directory of the repository.'
6+ default : ' .'
7+ runs :
8+ using : " composite"
9+ steps :
10+ - name : Install devbox
11+ shell : bash
12+ run : |
13+ curl -fsSL https://get.jetpack.io/devbox | FORCE=1 bash
14+ - name : Install nix and devbox packages
15+ shell : bash
16+ run : |
17+ NIX_INSTALLER_NO_CHANNEL_ADD=1
18+ devbox shell --config=${{ inputs.project-path }} -- echo "Installing nix..." || true
19+ source /home/runner/.nix-profile/etc/profile.d/nix.sh
20+ devbox shell --config=${{ inputs.project-path }} -- echo "Installing packages..."
You can’t perform that action at this time.
0 commit comments