mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 20:08:36 +08:00 
			
		
		
		
	npm run build
This commit is contained in:
		
							parent
							
								
									91afe36e0a
								
							
						
					
					
						commit
						c5c1c31345
					
				
							
								
								
									
										17
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/restore-only/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -65114,21 +65114,22 @@ class StateProviderBase { | ||||||
| class StateProvider extends StateProviderBase { | class StateProvider extends StateProviderBase { | ||||||
|     constructor() { |     constructor() { | ||||||
|         super(...arguments); |         super(...arguments); | ||||||
|         this.setState = core.saveState; |         this.setState = (key, value) => { core.saveState(key, value); stateToOutput(key, value); }; | ||||||
|         this.getState = core.getState; |         this.getState = core.getState; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.StateProvider = StateProvider; | exports.StateProvider = StateProvider; | ||||||
| class NullStateProvider extends StateProviderBase { | const stateToOutputMap = new Map([ | ||||||
|     constructor() { |  | ||||||
|         super(...arguments); |  | ||||||
|         this.stateToOutputMap = new Map([ |  | ||||||
|     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], |     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], | ||||||
|     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] |     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] | ||||||
| ]); | ]); | ||||||
|         this.setState = (key, value) => { | function stateToOutput(key, value) { | ||||||
|             core.setOutput(this.stateToOutputMap.get(key), value); |     core.setOutput(stateToOutputMap.get(key), value); | ||||||
|         }; | } | ||||||
|  | class NullStateProvider extends StateProviderBase { | ||||||
|  |     constructor() { | ||||||
|  |         super(...arguments); | ||||||
|  |         this.setState = stateToOutput; | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 |         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | ||||||
|         this.getState = (key) => ""; |         this.getState = (key) => ""; | ||||||
|     } |     } | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/restore/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -65114,21 +65114,22 @@ class StateProviderBase { | ||||||
| class StateProvider extends StateProviderBase { | class StateProvider extends StateProviderBase { | ||||||
|     constructor() { |     constructor() { | ||||||
|         super(...arguments); |         super(...arguments); | ||||||
|         this.setState = core.saveState; |         this.setState = (key, value) => { core.saveState(key, value); stateToOutput(key, value); }; | ||||||
|         this.getState = core.getState; |         this.getState = core.getState; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.StateProvider = StateProvider; | exports.StateProvider = StateProvider; | ||||||
| class NullStateProvider extends StateProviderBase { | const stateToOutputMap = new Map([ | ||||||
|     constructor() { |  | ||||||
|         super(...arguments); |  | ||||||
|         this.stateToOutputMap = new Map([ |  | ||||||
|     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], |     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], | ||||||
|     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] |     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] | ||||||
| ]); | ]); | ||||||
|         this.setState = (key, value) => { | function stateToOutput(key, value) { | ||||||
|             core.setOutput(this.stateToOutputMap.get(key), value); |     core.setOutput(stateToOutputMap.get(key), value); | ||||||
|         }; | } | ||||||
|  | class NullStateProvider extends StateProviderBase { | ||||||
|  |     constructor() { | ||||||
|  |         super(...arguments); | ||||||
|  |         this.setState = stateToOutput; | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 |         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | ||||||
|         this.getState = (key) => ""; |         this.getState = (key) => ""; | ||||||
|     } |     } | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/save-only/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -65127,21 +65127,22 @@ class StateProviderBase { | ||||||
| class StateProvider extends StateProviderBase { | class StateProvider extends StateProviderBase { | ||||||
|     constructor() { |     constructor() { | ||||||
|         super(...arguments); |         super(...arguments); | ||||||
|         this.setState = core.saveState; |         this.setState = (key, value) => { core.saveState(key, value); stateToOutput(key, value); }; | ||||||
|         this.getState = core.getState; |         this.getState = core.getState; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.StateProvider = StateProvider; | exports.StateProvider = StateProvider; | ||||||
| class NullStateProvider extends StateProviderBase { | const stateToOutputMap = new Map([ | ||||||
|     constructor() { |  | ||||||
|         super(...arguments); |  | ||||||
|         this.stateToOutputMap = new Map([ |  | ||||||
|     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], |     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], | ||||||
|     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] |     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] | ||||||
| ]); | ]); | ||||||
|         this.setState = (key, value) => { | function stateToOutput(key, value) { | ||||||
|             core.setOutput(this.stateToOutputMap.get(key), value); |     core.setOutput(stateToOutputMap.get(key), value); | ||||||
|         }; | } | ||||||
|  | class NullStateProvider extends StateProviderBase { | ||||||
|  |     constructor() { | ||||||
|  |         super(...arguments); | ||||||
|  |         this.setState = stateToOutput; | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 |         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | ||||||
|         this.getState = (key) => ""; |         this.getState = (key) => ""; | ||||||
|     } |     } | ||||||
|  |  | ||||||
							
								
								
									
										17
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										17
									
								
								dist/save/index.js
									
									
									
									
										vendored
									
									
								
							|  | @ -65127,21 +65127,22 @@ class StateProviderBase { | ||||||
| class StateProvider extends StateProviderBase { | class StateProvider extends StateProviderBase { | ||||||
|     constructor() { |     constructor() { | ||||||
|         super(...arguments); |         super(...arguments); | ||||||
|         this.setState = core.saveState; |         this.setState = (key, value) => { core.saveState(key, value); stateToOutput(key, value); }; | ||||||
|         this.getState = core.getState; |         this.getState = core.getState; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| exports.StateProvider = StateProvider; | exports.StateProvider = StateProvider; | ||||||
| class NullStateProvider extends StateProviderBase { | const stateToOutputMap = new Map([ | ||||||
|     constructor() { |  | ||||||
|         super(...arguments); |  | ||||||
|         this.stateToOutputMap = new Map([ |  | ||||||
|     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], |     [constants_1.State.CacheMatchedKey, constants_1.Outputs.CacheMatchedKey], | ||||||
|     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] |     [constants_1.State.CachePrimaryKey, constants_1.Outputs.CachePrimaryKey] | ||||||
| ]); | ]); | ||||||
|         this.setState = (key, value) => { | function stateToOutput(key, value) { | ||||||
|             core.setOutput(this.stateToOutputMap.get(key), value); |     core.setOutput(stateToOutputMap.get(key), value); | ||||||
|         }; | } | ||||||
|  | class NullStateProvider extends StateProviderBase { | ||||||
|  |     constructor() { | ||||||
|  |         super(...arguments); | ||||||
|  |         this.setState = stateToOutput; | ||||||
|         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 |         // eslint-disable-next-line @typescript-eslint/no-unused-vars
 | ||||||
|         this.getState = (key) => ""; |         this.getState = (key) => ""; | ||||||
|     } |     } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Stuart Leeks
						Stuart Leeks