Browse Source

Chore: deb package uses Golang v1.17 (#1234)

Loyalsoldier 4 years ago
parent
commit
70e341564a
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .github/workflows/deb.yml
  2. 1 1
      release/debian/control

+ 2 - 2
.github/workflows/deb.yml

@@ -42,11 +42,11 @@ jobs:
 
 
       - name: Install build dependencies
       - name: Install build dependencies
         run: |
         run: |
-          apt-get install -y build-essential dh-golang golang-1.16 reprepro
+          apt-get install -y build-essential dh-golang golang-1.17 reprepro
 
 
       - name: Set environment variable
       - name: Set environment variable
         run: |
         run: |
-          echo "PATH=/usr/lib/go-1.16/bin:${PATH}" >> $GITHUB_ENV
+          echo "PATH=/usr/lib/go-1.17/bin:${PATH}" >> $GITHUB_ENV
 
 
       - name: Build
       - name: Build
         run: |
         run: |

+ 1 - 1
release/debian/control

@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: ymshenyu <ymshenyu@gmail.com>
 Maintainer: ymshenyu <ymshenyu@gmail.com>
 Build-Depends:  debhelper-compat (= 12),
 Build-Depends:  debhelper-compat (= 12),
                 dh-golang,
                 dh-golang,
-                golang-1.16
+                golang-1.17
 Standards-Version: 4.5.0
 Standards-Version: 4.5.0
 Homepage: https://github.com/v2fly/v2ray-core
 Homepage: https://github.com/v2fly/v2ray-core
 #Vcs-Browser: https://salsa.debian.org/debian/v2ray-core
 #Vcs-Browser: https://salsa.debian.org/debian/v2ray-core