Skip to content

Commit 087f3af

Browse files
committed
Will setting a default working directory work?
1 parent 58cfaa1 commit 087f3af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/new-workflow.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
- name: Restore repotools
131131
uses: actions/cache/restore@v4
132132
with:
133+
path: ./lib/repotools/dist
133134
key: repotools
134135

135136
- name: tsc and test
@@ -146,6 +147,9 @@ jobs:
146147
fail-fast: false
147148
matrix:
148149
package: ${{ fromJson(needs.find-packages.outputs.tabs) }}
150+
defaults:
151+
run:
152+
working-directory: ${{ matrix.package.directory }}
149153

150154
steps:
151155
- name: Check out source code
@@ -171,9 +175,6 @@ jobs:
171175
changed:
172176
- ${{ matrix.package.directory }}/**
173177
174-
- name: Change into directory for ${{ matrix.package.name }}
175-
run: cd ${{ matrix.package.directory }}
176-
177178
- name: Restore buildtools
178179
uses: actions/cache/restore@v4
179180
with:

0 commit comments

Comments
 (0)