Skip to content

Commit

Permalink
chore(CI): reenable release dist caching (#10148)
Browse files Browse the repository at this point in the history
  • Loading branch information
wise-king-sullyman committed Mar 20, 2024
1 parent bb38b0a commit 6318bad
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,19 @@ jobs:
key: ${{ runner.os }}-yarn-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
if: steps.yarn-cache.outputs.cache-hit != 'true'
- uses: actions/cache@v2
id: dist
name: Cache dist
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
if: steps.dist.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 6318bad

Please sign in to comment.