summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-11-06 07:06:02 -0500
committerGitHub <noreply@github.com>2020-11-06 07:06:02 -0500
commit9d24ef483b15c55327c3b66acc6df74001f16c03 (patch)
tree58b610142af098f11035a4c32d7b6108be6ea056 /.github
parent77b6b1feb8d4b4cc10a1f8e18d08a6de3b6db576 (diff)
Remove usage of deprecated GHA syntax. (#10154)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checks.yml2
-rw-r--r--.github/workflows/review.yml6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index f8f437e0f9..6cafe2587e 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -79,7 +79,7 @@ jobs:
- name: Verify & Set distfile
run: |
ls -lah netdata-*.tar.gz
- echo "::set-env name=DISTFILE::$(ls netdata-*.tar.gz)"
+ echo "DISTFILE=$(ls netdata-*.tar.gz)" >> $GITHUB_ENV
- name: Run run_install_with_dist_file.sh
run: |
./.github/scripts/run_install_with_dist_file.sh "${DISTFILE}"
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index 67e2affcc1..50cabe0a47 100644
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -19,7 +19,7 @@ jobs:
- name: Check files
run: |
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '*\.js|node\.d\.plugin\.in' ; then
- echo ::set-env name=run_eslint::1
+ echo 'run_eslint=1' >> $GITHUB_ENV
fi
- name: Run eslint
if: env.run_eslint == 1
@@ -40,7 +40,7 @@ jobs:
- name: Check files
run: |
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '*\.sh.*' ; then
- echo ::set-env name=run_shellcheck::1
+ echo 'run_shellcheck=1' >> $GITHUB_ENV
fi
- name: Run shellcheck
if: env.run_shellcheck == 1
@@ -63,7 +63,7 @@ jobs:
- name: Check files
run: |
if git diff --name-only origin/${{ github.base_ref }} HEAD | grep -Eq '*\.ya?ml|python\.d/.*\.conf' ; then
- echo ::set-env name=run_yamllint::1
+ echo 'run_yamllint=1' >> $GITHUB_ENV
fi
- name: Run yamllint
if: env.run_yamllint == 1