2026-01-29 09:52:09 -05:00
|
|
|
import {version} from './package-version.cjs'
|
2023-08-17 14:40:33 -04: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 09:52:09 -05:00
|
|
|
return `@actions/artifact-${version}`
|
2023-08-17 14:40:33 -04:00
|
|
|
}
|