Commit Graph

630 Commits

Author SHA1 Message Date
Bassem Dghaidi 2893d426fc Refactor
Code scanning - action / CodeQL-Build (push) Waiting to run
2024-11-27 05:58:56 -08:00
Bassem Dghaidi ae0428be59 Use latest toolkit changes 2024-11-27 04:53:56 -08:00
Bassem Dghaidi 57eada13e4 Add tests for restoreCacheV2
Code scanning - action / CodeQL-Build (push) Has been cancelled
2024-11-25 12:09:47 -08:00
Bassem Dghaidi 0023caa23c Upgrade dependency & integrate latest from toolkit
Code scanning - action / CodeQL-Build (push) Has been cancelled
2024-11-21 04:09:27 -08:00
Bassem Dghaidi 2501f58c53 Update cache service APIs & cleanup
Code scanning - action / CodeQL-Build (push) Waiting to run
2024-11-20 13:55:06 -08:00
Bassem Dghaidi 067f6f3474 Remove unused definitions
Code scanning - action / CodeQL-Build (push) Has been cancelled
2024-11-14 07:12:07 -08:00
Bassem Dghaidi 2c12373f75 Add refactoring and improvements 2024-11-14 06:56:09 -08:00
Bassem Dghaidi 9edb66aa79 Remove unnecessary debug information 2024-11-14 04:39:48 -08:00
Bassem Dghaidi 2eef6f331a Remove unnecessary debug information 2024-11-14 04:33:41 -08:00
Bassem Dghaidi 4f3aee898d Upgrade package to resolve security warning & upgrade to latest cache package 2024-11-14 04:06:04 -08:00
Bassem Dghaidi 3f69ac8572 Formatting and stylistic cleanup 2024-11-14 03:24:27 -08:00
Bassem Dghaidi d2ae025c8f Upgrade to the latest cache package 2024-11-14 03:20:13 -08:00
Bassem Dghaidi ecaa896193 Integrate actions/cache with cache service v2 APIs
Code scanning - action / CodeQL-Build (push) Waiting to run
2024-11-13 13:43:09 -08:00
Bassem Dghaidi 6849a64899 Release 4.1.2 #1477
Check dist/ / Check dist/ (push) Has been cancelled
Licensed / Licensed (push) Has been cancelled
Tests / build (macOS-latest) (push) Has been cancelled
Tests / build (ubuntu-latest) (push) Has been cancelled
Tests / build (windows-latest) (push) Has been cancelled
Tests / test-save (macOS-latest) (push) Has been cancelled
Tests / test-save (ubuntu-latest) (push) Has been cancelled
Tests / test-save (windows-latest) (push) Has been cancelled
Tests / test-proxy-save (push) Has been cancelled
Tests / test-restore (macOS-latest) (push) Has been cancelled
Tests / test-restore (ubuntu-latest) (push) Has been cancelled
Tests / test-restore (windows-latest) (push) Has been cancelled
Tests / test-proxy-restore (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Failing after 0s
Close inactive issues / close-issues (push) Failing after -1s
Prepare `4.1.2` release
v4.1.2
2024-10-22 14:33:17 +02:00
Bassem Dghaidi 5a1720c49e Merge branch 'Link-/prep-4.1.2' of https://github.com/actions/cache into Link-/prep-4.1.2 2024-10-22 04:25:33 -07:00
Bassem Dghaidi d9fef48d24 Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 13:25:20 +02:00
Bassem Dghaidi a50e8d027b Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 04:24:43 -07:00
Bassem Dghaidi acc9ae5c14 Merge pull request #1481 from actions/dependabot/github_actions/actions/setup-node-4
Bump actions/setup-node from 3 to 4
2024-10-22 13:19:36 +02:00
Bassem Dghaidi 1ea5f18c31 Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 13:17:46 +02:00
Bassem Dghaidi cc679ff3ba Merge branch 'main' into dependabot/github_actions/actions/setup-node-4 2024-10-22 13:16:44 +02:00
Bassem Dghaidi 366d43d6f8 Merge pull request #1483 from actions/dependabot/github_actions/github/codeql-action-3
Bump github/codeql-action from 2 to 3
2024-10-22 13:16:34 +02:00
dependabot[bot] 02bf31969b Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 11:14:30 +00:00
Bassem Dghaidi 6f6220be5a Merge branch 'main' into dependabot/github_actions/actions/setup-node-4 2024-10-22 13:14:22 +02:00
Bassem Dghaidi ebdd24ede1 Merge pull request #1479 from actions/dependabot/github_actions/actions/stale-9
Bump actions/stale from 3 to 9
2024-10-22 13:13:31 +02:00
dependabot[bot] 255c8ff306 Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 11:12:37 +00:00
Bassem Dghaidi 010f24cd9d Merge branch 'main' into dependabot/github_actions/actions/stale-9 2024-10-22 13:12:09 +02:00
Bassem Dghaidi d6151ba7db Merge pull request #1478 from actions/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2024-10-22 13:11:35 +02:00
dependabot[bot] 4ca7071576 Bump actions/stale from 3 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v3...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 11:04:21 +00:00
dependabot[bot] 5d692d65f4 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 11:04:20 +00:00
Bassem Dghaidi 3aef79d3a3 Enable dependabot updates
Add dependabot.yml to enable automatic dependency upgrades
2024-10-22 13:03:26 +02:00
Bassem Dghaidi aa55e5f344 Prepare release 4.1.2 2024-10-22 03:54:14 -07:00
Bassem Dghaidi 772385291f Create dependabot.yml 2024-10-22 12:34:45 +02:00
Bassem Dghaidi e5dc90df92 Merge pull request #1475 from actions/dependabot/npm_and_yarn/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3
2024-10-22 11:59:13 +02:00
dependabot[bot] 8585f2ac5c Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 09:52:18 +00:00
Bassem Dghaidi 9803087a86 Merge pull request #1474 from actions/jww3-isghes-fix
Revise `isGhes` logic to exclude GitHub Enterprise Cloud instances
2024-10-22 11:50:59 +02:00
John Wesley Walker III e7e2547a88 added unit tests
Code scanning - action / CodeQL-Build (push) Failing after -1s
2024-10-18 17:22:08 +00:00
John Wesley Walker III 71d826cc33 appease the linter 2024-10-18 13:52:16 +00:00
John Wesley Walker III 25942a73ac ran npm run build 2024-10-18 13:25:07 +00:00
John Wesley Walker III d73025053b Revise isGhes logic 2024-10-18 13:23:42 +02:00
Jan T. Sott 8469c94c6a Add Bun example (#1456)
Check dist/ / Check dist/ (push) Has been cancelled
Licensed / Licensed (push) Has been cancelled
Tests / build (macOS-latest) (push) Has been cancelled
Tests / build (ubuntu-latest) (push) Has been cancelled
Tests / build (windows-latest) (push) Has been cancelled
Tests / test-save (macOS-latest) (push) Has been cancelled
Tests / test-save (ubuntu-latest) (push) Has been cancelled
Tests / test-save (windows-latest) (push) Has been cancelled
Tests / test-proxy-save (push) Has been cancelled
Tests / test-restore (macOS-latest) (push) Has been cancelled
Tests / test-restore (ubuntu-latest) (push) Has been cancelled
Tests / test-restore (windows-latest) (push) Has been cancelled
Tests / test-proxy-restore (push) Has been cancelled
Code scanning - action / CodeQL-Build (push) Failing after 27s
Close inactive issues / close-issues (push) Successful in 3s
* Add Bun example

* Fix Bun Windows example
2024-10-08 19:53:09 +00:00
Josh Gross 3624ceb22c Restore original behavior of cache-hit output (#1467)
* Restore original behavior of `cache-hit` output

* Bump version to 4.1.1
v4.1.1
2024-10-08 13:08:22 -04:00
Josh Gross 2cdf405574 Prepare 4.1.0 release (#1464)
Check dist/ / Check dist/ (push) Failing after 5s
Licensed / Licensed (push) Failing after 15s
Tests / test-save (ubuntu-latest) (push) Successful in 1m45s
Tests / test-proxy-save (push) Failing after 2m18s
Tests / test-proxy-restore (push) Has been skipped
Tests / build (ubuntu-latest) (push) Successful in 6m19s
Tests / build (macOS-latest) (push) Has been cancelled
Tests / build (windows-latest) (push) Has been cancelled
Tests / test-save (macOS-latest) (push) Has been cancelled
Tests / test-save (windows-latest) (push) Has been cancelled
Tests / test-restore (macOS-latest) (push) Has been cancelled
Tests / test-restore (ubuntu-latest) (push) Has been cancelled
Tests / test-restore (windows-latest) (push) Has been cancelled
Close inactive issues / close-issues (push) Successful in -2m16s
Code scanning - action / CodeQL-Build (push) Failing after -1m21s
v4.1.0
2024-10-04 17:00:33 -04:00
Eman Resu a11fb02296 restore action's README now references v4 instead of v3 (#1445)
Check dist/ / Check dist/ (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Licensed / Licensed (push) Waiting to run
Tests / build (macOS-latest) (push) Waiting to run
Tests / build (ubuntu-latest) (push) Waiting to run
Tests / build (windows-latest) (push) Waiting to run
Tests / test-save (macOS-latest) (push) Waiting to run
Tests / test-save (ubuntu-latest) (push) Waiting to run
Tests / test-save (windows-latest) (push) Waiting to run
Tests / test-restore (macOS-latest) (push) Blocked by required conditions
Tests / test-restore (ubuntu-latest) (push) Blocked by required conditions
Tests / test-restore (windows-latest) (push) Blocked by required conditions
Tests / test-proxy-save (push) Waiting to run
Tests / test-proxy-restore (push) Blocked by required conditions
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-10-03 14:58:28 -04:00
mackey0225 cf7a75e7b9 Fix typo: depening -> depending (#1462)
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-10-03 18:56:27 +00:00
Josh Gross c74ca4022c Deprecate save-always input (#1452)
The `save-always` input added in v4 is not
working as intended due to
`post-if` expressions not supporting the input
context.
To avoid breaking users who have already added
this input to their workflows, it is being
deprecated now and will be removed
in the next major version (v5).
See https://github.com/actions/cache/issues/1315 for more details.
2024-10-03 18:37:55 +00:00
Joel Ambass f8a7ab490b Merge pull request #1463 from actions/Jcambass-patch-1
Check dist/ / Check dist/ (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Licensed / Licensed (push) Waiting to run
Tests / build (macOS-latest) (push) Waiting to run
Tests / build (ubuntu-latest) (push) Waiting to run
Tests / build (windows-latest) (push) Waiting to run
Tests / test-save (macOS-latest) (push) Waiting to run
Tests / test-save (ubuntu-latest) (push) Waiting to run
Tests / test-save (windows-latest) (push) Waiting to run
Tests / test-restore (macOS-latest) (push) Blocked by required conditions
Tests / test-restore (ubuntu-latest) (push) Blocked by required conditions
Tests / test-restore (windows-latest) (push) Blocked by required conditions
Tests / test-proxy-save (push) Waiting to run
Tests / test-proxy-restore (push) Blocked by required conditions
Add workflow file for publishing releases to immutable action package
2024-10-03 14:08:27 +02:00
Joel Ambass 45b7be0774 Add workflow file for publishing releases to immutable action package
This workflow file publishes new action releases to the immutable action package of the same name as this repo.

This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
2024-10-03 08:51:30 +02:00
Bassem Dghaidi 81382a721f Merge pull request #1311 from todgru/todgru/v4-documentation-update
docs: update examples to v4
2024-08-14 12:13:33 +02:00
Bassem Dghaidi c4ee99a3bd Merge branch 'main' into todgru/v4-documentation-update 2024-08-14 12:09:56 +02:00
Soubhik Kumar Mitra 57b8e405f0 Clarify that the restore-keys input is a string in the docs (#1434)
* Fix Description for restore-keys at Readme

As previously the restore-keys were defined as an ordered lists which is
wrong as per the issue description where the actual format is a
multi-line string with one key per line.

* Added a space between the sentence of restore-keys description

While at the PR review it's been identified there's a need for a space
between the sentence

	```
	An ordered multiline string listing the prefix-matched keys,that are
	used for restoring stale cache if no cache hit occurred for key.
	```

where it's written as "prefix-matched keys,that are" this commit will
address the review comment and introduce a space between
"prefix-matched keys, that are" and change the sentence to

	```
	An ordered multiline string listing the prefix-matched keys, that are
        used for restoring stale cache if no cache hit occurred for key.
	```

* Change restore-keys description at cache/restore/action.yml and cache/action.yml
2024-08-06 14:26:54 +00:00