Explorar o código

强制指定go版本

Jinnrry %!s(int64=2) %!d(string=hai) anos
pai
achega
9371864379
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      .github/workflows/release.yml

+ 2 - 1
.github/workflows/release.yml

@@ -34,6 +34,7 @@ jobs:
       - name: Setup Go environment
         uses: actions/setup-go@v4.1.0
         with:
+          go-version: '1.22'
           check-latest: true
       - name: Gen output name
         run: |
@@ -79,4 +80,4 @@ jobs:
           repo_token: ${{ secrets.GITHUB_TOKEN }}
           file: server/${{ env.ZIPNAME }}.zip
           tag: ${{ github.ref }}
-          file_glob: true
+          file_glob: true