Skip to content

Commit

Permalink
Update how output variables are stored in Actions (#425)
Browse files Browse the repository at this point in the history
Replace the deprecated `set-output` in GitHub Actions for concatenating
name and values into the `GITHUB_OUTPUT` env variable.
  • Loading branch information
santisoler authored Sep 5, 2024
1 parent f2c634e commit 72ff8b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
- name: Get the pip cache folder
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Setup caching for pip packages
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
- name: Get the pip cache folder
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: Setup caching for pip packages
uses: actions/cache@v4
Expand Down

0 comments on commit 72ff8b6

Please sign in to comment.