Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Update set-output syntax (#5430)
Browse files Browse the repository at this point in the history
Summary:
This will otherwise break soon.

Closes #5430.

Redone using the instructions from here: https://github.com/actions/cache/blob/main/examples.md#node---yarn

Pull Request resolved: #5658

Test Plan: Green CI

Reviewed By: antonk52

Differential Revision: D59962261

Pulled By: passy

fbshipit-source-id: 1d3cfaf69c9e79195e71f3c07bf946319f3bcbce
  • Loading branch information
passy authored and facebook-github-bot committed Jul 19, 2024
1 parent 5840e87 commit 1c2fe52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
shell: bash
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
Expand Down

0 comments on commit 1c2fe52

Please sign in to comment.