fix github workflow use latest env method
@@ -16,12 +16,12 @@ jobs:
- name: Set up environment variables
run: |
- echo "::set-env name=VERSION::$(git describe --tags $(git rev-list --tags --max-count=1))"
+ echo "VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v2
with:
- go-version: 1.14
+ go-version: 1.15
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
