Skip to content

CI - restore build caching during release step of CI pipeline #10146

@wise-king-sullyman

Description

@wise-king-sullyman

During a prior temporary fix I had to remove a caching step from our CI pipeline, that step should now be restored to help keep our CI as fast as possible.

The change needed is shown below, it should be inserted before the build dist step of the release.yml file.

- 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') }}

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions