Skip to content

Commit

Permalink
fix(repo): change github set output to env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Oct 14, 2022
1 parent 3a30689 commit a6fb96f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-matrix.yml
Expand Up @@ -106,7 +106,7 @@ jobs:

- name: 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

- name: Cache yarn
uses: actions/cache@v3
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/e2e-windows.yml
Expand Up @@ -52,7 +52,16 @@ jobs:

- name: 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

- name: Get DIR
shell: bash
run: |
echo "The selected color is ${{ steps.yarn-cache-dir-path.outputs.dir }}"
echo "$(yarn cache dir)"
DIR="$(yarn cache dir)"
echo "The dir is $DIR"
DIR=$(yarn cache dir)
- name: Cache yarn
uses: actions/cache@v3
Expand Down

0 comments on commit a6fb96f

Please sign in to comment.