Skip to content

Commit

Permalink
👷 ci: idと環境変数の命名を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
takashi0602 committed Dec 2, 2023
1 parent d41a6e7 commit 9422bbe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
run: yarn set version 4.0.2

- name: Get yarn cache directory path
id: cache_dir_path
run: echo "CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV
id: package_manager_cache_dir_path
run: echo "PACKAGE_MANAGER_CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV

- name: Cache yarn cache directory
uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIR_PATH }}
path: ${{ env.PACKAGE_MANAGER_CACHE_DIR_PATH }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
run: yarn set version 4.0.2

- name: Get yarn cache directory path
id: cache_dir_path
run: echo "CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV
id: package_manager_cache_dir_path
run: echo "PACKAGE_MANAGER_CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV

- name: Cache yarn cache directory
uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIR_PATH }}
path: ${{ env.PACKAGE_MANAGER_CACHE_DIR_PATH }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

Expand Down Expand Up @@ -79,13 +79,13 @@ jobs:
run: yarn set version 4.0.2

- name: Get yarn cache directory path
id: cache_dir_path
run: echo "CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV
id: package_manager_cache_dir_path
run: echo "PACKAGE_MANAGER_CACHE_DIR_PATH=$(yarn config get cacheFolder)" >> $GITHUB_ENV

- name: Cache yarn cache directory
uses: actions/cache@v3
with:
path: ${{ env.CACHE_DIR_PATH }}
path: ${{ env.PACKAGE_MANAGER_CACHE_DIR_PATH }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

Expand Down

0 comments on commit 9422bbe

Please sign in to comment.