diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2020-10-09 10:19:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-09 10:19:23 -0700 |
| commit | 1b307c90a732e1e9c09d086fa52c44a0e5d7abac (patch) | |
| tree | 46272b466071bf9f3d9b06d350a69fc7d015524d /.github/workflows/pre-commit.yml | |
| parent | b578afa02f7d813684fb6488aed029c65e929e92 (diff) | |
| parent | 3149f5bfd8baa59b52fbd8e98c036caa53cd2ce6 (diff) | |
Merge pull request #3527 from jepler/issue3526-actions-setenv
workflows: Replace deprecated ::set-env
Diffstat (limited to '.github/workflows/pre-commit.yml')
| -rw-r--r-- | .github/workflows/pre-commit.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 966310304..eac9bfe09 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 - name: set PY - run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" + run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" - uses: actions/cache@v1 with: path: ~/.cache/pre-commit |
