Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
alecrajeev committed Jul 22, 2024
1 parent cb66975 commit e8f121b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ on: push
jobs:
test:
runs-on: ubuntu-latest
outputs:
dir: ${{ steps.yarn-cache-dir-path.outputs.dir }}
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v1
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
run: |
folder=$(yarn config get cacheFolder)
echo "dir=$folder" >> $GITHUB_OUTPUT;
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
Expand Down

0 comments on commit e8f121b

Please sign in to comment.