Skip to content

Commit

Permalink
Utilise $GITHUB_OUTPUT au lieu de set-output dans la CI
Browse files Browse the repository at this point in the history
Utiliser set-output est maintenant déprécié par GitHub Actions, voir
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  • Loading branch information
philippemilink committed Mar 19, 2023
1 parent 36b44bc commit 63e503d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Retrieve pip cache directory
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip packages
uses: actions/cache@v2
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:

- name: Retrieve yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache Node modules
uses: actions/cache@v2
Expand Down Expand Up @@ -201,8 +201,7 @@ jobs:
- name: Retrieve pip cache directory
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip packages
uses: actions/cache@v2
Expand Down

0 comments on commit 63e503d

Please sign in to comment.