2026-01-29 14:23:32 -05:00
|
|
|
import {version} from './package-version.cjs'
|
2024-10-24 05:19:48 -07:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package
|
|
|
|
|
*/
|
|
|
|
|
export function getUserAgentString(): string {
|
2026-01-29 14:23:32 -05:00
|
|
|
return `@actions/cache-${version}`
|
2024-10-24 05:19:48 -07:00
|
|
|
}
|