Skip to content

Commit eccda25

Browse files
authored
Merge pull request #53 from terraform-linters/stop_using_set_env_command
Stop using set-env commands
2 parents 54c31d2 + 8bf0c52 commit eccda25

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/e2e.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,15 @@ jobs:
1818
matrix:
1919
os: [ubuntu-latest, windows-latest]
2020
version: [v0.20.1, latest]
21+
env:
22+
TFLINT_VERSION: ${{ matrix.version }}
2123
steps:
2224
- name: Checkout
2325
uses: actions/checkout@v2
2426
- name: Set up Go
2527
uses: actions/[email protected]
2628
with:
2729
go-version: 1.15
28-
- name: Set env
29-
if: matrix.version != 'latest'
30-
run: echo "::set-env name=TFLINT_VERSION::${{ matrix.version }}"
3130
- name: Install TFLint
3231
run: curl -sL https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
3332
- name: Install plugin (Linux)

0 commit comments

Comments
 (0)