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

cache step: expand globs #63

Merged
merged 11 commits into from
Aug 12, 2024
Merged

cache step: expand globs #63

merged 11 commits into from
Aug 12, 2024

Conversation

rarmatei
Copy link
Contributor

@rarmatei rarmatei commented Aug 2, 2024

https://linear.app/nxdev/issue/INF-816/caching-action-should-support-path-globs

will support glob paths now:

- name: Git Cache Step
  uses: 'nrwl/nx-cloud-workflows/v1.1/workflow-steps/cache/main.yaml'
  inputs:
   	key: '"yarn" | yarn.lock'
  	paths: |
  		'packages/*/node_modules'
        base-branch: 'main'

Copy link

nx-cloud bot commented Aug 2, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 270620a. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

@rarmatei rarmatei merged commit 62e06f3 into main Aug 12, 2024
2 checks passed
@rarmatei rarmatei deleted the cache-step-expand-globs branch August 12, 2024 17:42
github-actions bot pushed a commit that referenced this pull request Aug 14, 2024
* allow either version of base branch input

* run tests as part of ci checks

* add test files

* expand glob paths

* add source files

* log directories about to be cached

* fetch all commits

* allow files to be cached

* add documentation

* only print warning if empty paths

* only print warning if empty paths
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.

2 participants