Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Aug 2, 2020
1 parent f472a44 commit 426e753
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
with:
python-version: '3.7'
architecture: 'x64'
- uses: actions/cache@v2
- name: Setup pip cache
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: pip-3.7-${{ hashFiles('package.json') }}
Expand All @@ -32,7 +33,8 @@ jobs:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
- name: Setup yarn cache
uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function addJSONTour(
try {
tutorial = manager.createTutorial(id, label, hasHelpEntry);
steps.forEach(({ content, placement, target, title }) => {
tutorial?.createAndAddStep(target, content, placement, title);
tutorial.createAndAddStep(target, content, placement, title);
});
} catch (error) {
console.error(`Fail to add tour '${label}' (${id})`, error);
Expand Down

0 comments on commit 426e753

Please sign in to comment.