Skip to content

Commit f1b27df

Browse files
Update release.yml (#1930)
1 parent 854564b commit f1b27df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ jobs:
133133
- name: Install
134134
run: yarn install --frozen-lockfile --prefer-offline
135135

136+
- uses: actions/cache/restore@v3
137+
name: Restore build cache
138+
id: build-cache
139+
with:
140+
path: |
141+
**/dist
142+
!**/node_modules
143+
key: ${{ runner.os }}-build-cache-${{ hashFiles('**/src/', '!**/node_modules', '!**/dist') }}
144+
136145
- name: Notify Slack channel of new releases
137146
id: slackbot
138147
run: yarn slackbot '${{ needs.release.outputs.publishedPackages }}'

0 commit comments

Comments
 (0)