Skip to content

ENH: enable cached build folders using artifacts - #101

Merged
mmcky merged 7 commits into
mainfrom
add-cache
Feb 12, 2021
Merged

mmcky merged 7 commits into
mainfrom
add-cache

Conversation

@mmcky

@mmcky mmcky commented Feb 11, 2021 •

Copy link
Copy Markdown
Contributor

This PR fixes #12 by using build artifacts from the publish.yml process.

  • add use of cached build folder for PRs
  • add use of cached build folder for publishing with _build folder updating

Not going to implement the second as it is more risky given it is on the publishing pathway. We can add this at a later date.

@mmcky

mmcky commented Feb 12, 2021

Copy link
Copy Markdown
Contributor Author

artifacts seem still to be limited to individual workflows and passing between jobs rather than passing between workflows -- will revert to use cache

@mmcky

mmcky commented Feb 12, 2021

Copy link
Copy Markdown
Contributor Author

Until Github Actions supports this we should use: https://github.com/dawidd6/action-download-artifact

The issue with cache is in the regular updating of the _build folder.

This way PR's can use the latest _build artifacts from the publish.yml file.

@github-actions
github-actions Bot temporarily deployed to commit February 12, 2021 01:01 Inactive
@github-actions
github-actions Bot temporarily deployed to commit February 12, 2021 01:06 Inactive
@github-actions
github-actions Bot temporarily deployed to commit February 12, 2021 01:07 Inactive
@github-actions
github-actions Bot temporarily deployed to commit February 12, 2021 02:50 Inactive
@mmcky
mmcky merged commit 5b04102 into main Feb 12, 2021
@mmcky
mmcky deleted the add-cache branch February 12, 2021 02:51

This branch was previously deployed

1 inactive deployment
commit — 37fe7460 Deployed Feb 12, 2021 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[github actions] Look at how to make builds quicker using cache

1 participant