From 962a0169b2e947c5c7f879ec7c62191e74a3634a Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Thu, 19 Nov 2020 13:36:18 +0000 Subject: [PATCH] Use the new environment files Signed-off-by: Pradyun Gedam --- .github/workflows/linting.yml | 2 +- .github/workflows/macos.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index ebe98fec7..71459d660 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -38,7 +38,7 @@ jobs: ${{ runner.os }}- - name: Set PY (for pre-commit cache) - run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" + run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - name: pre-commit cache uses: actions/cache@v1 with: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index bdf3f671b..5d7b9acab 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -25,7 +25,7 @@ jobs: ${{ runner.os }}-pip- ${{ runner.os }}- - name: Set PY (for pre-commit cache) - run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" + run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - name: pre-commit cache uses: actions/cache@v1 with: