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 15, 2022
1 parent 3a30689 commit aa5e987
Show file tree
Hide file tree
Showing 2 changed files with 13 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
13 changes: 12 additions & 1 deletion .github/workflows/e2e-windows.yml
Expand Up @@ -52,7 +52,18 @@ jobs:

- name: Yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
shell: bash
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"
DIR2=$(yarn cache dir)
echo "The dir is $DIR2"
- name: Cache yarn
uses: actions/cache@v3
Expand Down

0 comments on commit aa5e987

Please sign in to comment.