mirror of
https://code.forgejo.org/actions/cache.git
synced 2025-04-22 00:33:57 +08:00
Renamed output
This commit is contained in:
parent
075ad790b0
commit
c8d01facfc
8 changed files with 14 additions and 14 deletions
4
dist/restore-only/index.js
vendored
4
dist/restore-only/index.js
vendored
|
@ -4957,7 +4957,7 @@ var Outputs;
|
|||
(function (Outputs) {
|
||||
Outputs["CacheHit"] = "cache-hit";
|
||||
Outputs["CachePrimaryKey"] = "cache-primary-key";
|
||||
Outputs["CacheRestoreKey"] = "cache-restore-key"; // Output from restore action
|
||||
Outputs["CacheMatchedKey"] = "cache-matched-key"; // Output from restore action
|
||||
})(Outputs = exports.Outputs || (exports.Outputs = {}));
|
||||
var State;
|
||||
(function (State) {
|
||||
|
@ -9387,7 +9387,7 @@ class NullStateProvider extends StateProviderBase {
|
|||
constructor() {
|
||||
super(...arguments);
|
||||
this.stateToOutputMap = new Map([
|
||||
[constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheRestoreKey],
|
||||
[constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey],
|
||||
[constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey]
|
||||
]);
|
||||
this.setState = (key, value) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue