fix releases
@@ -66,12 +66,12 @@ jobs:
# if: github.event.workflow_run.head_branch == 'master' || github.event.workflow_run.head_branch == 'dev'
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dev'
runs-on: ubuntu-latest
- env:
- GOROOT: /usr/local/go
+# env:
+# GOROOT: /usr/local/go
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -93,7 +93,7 @@ jobs:
- name: Set up Go 1.17
uses: actions/setup-go@v3
with:
- go-version: '>=1.17 <1.18'
+ go-version: '1.17.x'
id: go
- name: Login to DockerHub
