Skip to content

Commit 02f6696

Browse files
authored
Update devbox package install script (#6)
### Summary devbox CLI has deprecated support for `devbox shell -- <cmd>` It is replaced by `devbox run -- <cmd>`. In the future when `devbox install` command is available, we can switch to using that instead. Related issue: jetify-com/devbox#790 ### How was it tested? CICD
1 parent a87abee commit 02f6696

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install devbox
3636
uses: ./
3737
with:
38-
devbox-version: '0.2.2'
38+
devbox-version: 0.4.4
3939
project-path: 'testdata'
4040

4141
test-action-with-cache:

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ runs:
6666
if: steps.cache-devbox-cli.outputs.cache-hit != 'true'
6767
shell: bash
6868
run: |
69-
DEVBOX_USE_VERSION="${{ env.latest_version }}"
69+
export DEVBOX_USE_VERSION="${{ env.latest_version }}"
7070
curl -fsSL https://get.jetpack.io/devbox | FORCE=1 bash
7171
7272
version=$(devbox version)
@@ -81,4 +81,4 @@ runs:
8181
run: |
8282
NIX_INSTALLER_NO_CHANNEL_ADD=1
8383
NIX_BUILD_SHELL=/bin/bash
84-
devbox shell --config=${{ inputs.project-path }} -- echo "Packages installed!"
84+
devbox run --config=${{ inputs.project-path }} -- echo "Packages installed!"

0 commit comments

Comments
 (0)