File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ defaults:
22
22
shell : bash
23
23
24
24
env :
25
- DEVBOX_ACCESS_TOKEN : ${{ secrets.DEVBOX_ACCESS_TOKEN }}
25
+ DEVBOX_API_TOKEN : ${{ secrets.DEVBOX_API_TOKEN }}
26
26
DEVBOX_DEBUG : 1
27
27
28
28
jobs :
@@ -35,10 +35,20 @@ jobs:
35
35
steps :
36
36
- uses : actions/checkout@v4
37
37
38
- - name : Install devbox
39
- uses :
jetify-com/[email protected]
38
+ # Build devbox from scratch because released devbox has a bug that prevents
39
+ # DEVBOX_API_TOKEN use
40
+ - uses : actions/setup-go@v5
40
41
with :
41
- enable-cache : true
42
+ go-version-file : ./go.mod
43
+ - name : Build devbox
44
+ run : |
45
+ go build -o dist/devbox ./cmd/devbox
46
+ sudo mv ./dist/devbox /usr/local/bin/
47
+
48
+ # - name: Install devbox
49
+ # uses: jetify-com/[email protected]
50
+ # with:
51
+ # enable-cache: true
42
52
43
53
- run : |
44
54
devbox cache upload
You can’t perform that action at this time.
0 commit comments