We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52be566 commit c662e2bCopy full SHA for c662e2b
.github/workflows/release.yml
@@ -18,11 +18,11 @@ jobs:
18
with:
19
go-version: ^1.16
20
- name: set GOVERSION
21
- env:
22
- ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
23
- run: echo "::set-env name=GOVERSION::$(go version | sed -r 's/go version go(.*)\ .*/\1/')"
+ run: echo "GOVERSION=$(go version | sed -r 's/go version go(.*)\ .*/\1/')" >> $GITHUB_ENV
24
- name: set AirVersion
25
- run: echo ::set-env name=VERSION::${GITHUB_REF#refs/tags/}
+ run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+ - name: show version
+ run: echo ${{ env.GOVERSION }} ${{ env.VERSION }}
26
27
- name: run GoReleaser
28
uses: goreleaser/goreleaser-action@v2
0 commit comments