Skip to content

Commit a32f71c

Browse files
committed
fix github workflow use latest env method
1 parent bc557df commit a32f71c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/goreleaser.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616

1717
- name: Set up environment variables
1818
run: |
19-
echo "::set-env name=VERSION::$(git describe --tags $(git rev-list --tags --max-count=1))"
19+
echo "VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
2020
2121
- name: Set up Go
2222
uses: actions/setup-go@v2
2323
with:
24-
go-version: 1.14
24+
go-version: 1.15
2525

2626
- name: Run GoReleaser
2727
uses: goreleaser/goreleaser-action@v2

0 commit comments

Comments
 (0)