Skip to content

Commit 47f2d18

Browse files
authored
Fix gh action
1 parent b526da5 commit 47f2d18

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
arch: [amd64, 386]
1616
steps:
1717
- name: Set RELEASE_VERSION
18-
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
18+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1919
- name: Setup Go
2020
uses: actions/setup-go@v1
2121
with:
@@ -25,7 +25,7 @@ jobs:
2525
- name: Add Windows Exe File Extension
2626
if: matrix.os == 'windows'
2727
run: |
28-
echo ::set-env name=FILE_EXTENSION::.exe
28+
echo "FILE_EXTENSION=.exe" >> $GITHUB_ENV
2929
- name: Build Code
3030
env:
3131
GOOS: ${{ matrix.os }}
@@ -52,7 +52,7 @@ jobs:
5252
cd terraform-backend-git && sha256sum * > SHA256SUMS
5353
- name: List Artifacts
5454
run: |
55-
echo ::set-env name=ARTIFACTS::$(echo terraform-backend-git/*)
55+
echo "ARTIFACTS=$(echo terraform-backend-git/*)" >> $GITHUB_ENV
5656
- name: Release
5757
uses: docker://antonyurchenko/git-release:v3
5858
env:

0 commit comments

Comments
 (0)