Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wise-king-sullyman opened this issue Mar 8, 2024 · 0 comments · Fixed by #10148
Closed

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

wise-king-sullyman opened this issue Mar 8, 2024 · 0 comments · Fixed by #10148
Assignees
Milestone

Comments

@wise-king-sullyman
Copy link
Contributor

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') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants