Skip to content

Commit e1f21eb

Browse files
authored
Update cd-dgraph-js-http.yml
1 parent a94e00e commit e1f21eb

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/cd-dgraph-js-http.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,10 @@ jobs:
3535
path: dgraph
3636
repository: hypermodeinc/dgraph
3737
ref: main
38-
- name: Get Go Version
39-
run: |
40-
#!/bin/bash
41-
cd dgraph
42-
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
43-
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
4438
- name: Set up Go
4539
uses: actions/setup-go@v3
4640
with:
47-
go-version: ${{ env.GOVERSION }}
41+
go-version-file: go.mod
4842
- name: Build dgraph binary
4943
run: cd dgraph && make docker-image # also builds dgraph binary
5044
- name: Move dgraph binary to gopath

0 commit comments

Comments
 (0)