liuyuqi-dellpc 2 years ago
parent
commit
81047ddf13
1 changed files with 9 additions and 9 deletions
  1. 9 9
      .github/workflows/build.yml

+ 9 - 9
.github/workflows/build.yml

@@ -46,18 +46,18 @@ jobs:
           restore-keys: |
             ${{ runner.os }}-go-
 
-      # - name: Get dependencies
-      #   run: |
-      #     go get
-      #     if [ -f Gopkg.toml ]; then
-      #         curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
-      #         dep ensure
-      #     fi
-      #   working-directory: ./server
+      - name: Get dependencies
+        run: |
+          go get
+          if [ -f Gopkg.toml ]; then
+              curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
+              dep ensure
+          fi
+        working-directory: ./
 
       - name: Build
         run: go build convert.go
-        working-directory: ./server
+        working-directory: ./
 
       - name: docker push
         run: |