Skip to content

Conversation

@cclauss
Copy link
Contributor

@cclauss cclauss commented Dec 4, 2024

      - name: Get pip cache dir
        id: pip-cache
        run: |
-         echo "::set-output name=dir::$(pip cache dir)"
+         echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

Fixes warnings at bottom right of
https://github.com/pytest-dev/unittest2pytest/actions/runs/12145268432

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands

@cclauss cclauss marked this pull request as draft December 4, 2024 14:26
@cclauss cclauss marked this pull request as ready for review December 4, 2024 14:34
```diff
      - name: Get pip cache dir
        id: pip-cache
        run: |
-         echo "::set-output name=dir::$(pip cache dir)"
+         echo "{dir}={$(pip cache dir)}" >> $GITHUB_OUTPUT
```
Fixes warnings at bottom right of
https://github.com/pytest-dev/unittest2pytest/actions/runs/12145268432

https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, appreciate it!

@nicoddemus nicoddemus merged commit cb608b9 into pytest-dev:develop Dec 7, 2024
8 checks passed
@cclauss cclauss deleted the patch-1 branch December 7, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants