Skip to content

Commit

Permalink
Fix set-output usage on CI
Browse files Browse the repository at this point in the history
The `set-output` command is deprecated and will be disabled soon.
For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  • Loading branch information
Jamim committed Feb 1, 2024
1 parent 41c133e commit dc9eba3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)" # - name: Cache
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Cache PyPI
uses: actions/cache@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions CHANGES/940.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The deprecated ``set-output`` command has been
replaced with a ``GITHUB_OUTPUT`` usage.

0 comments on commit dc9eba3

Please sign in to comment.