mirror of
https://github.com/actions/toolkit.git
synced 2026-08-15 00:00:25 +02:00
Add twirp client
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
export function getRuntimeToken(): string {
|
||||
const token = process.env['ACTIONS_RUNTIME_TOKEN']
|
||||
if (!token) {
|
||||
throw new Error('Unable to get the ACTIONS_RUNTIME_TOKEN env variable')
|
||||
}
|
||||
return token
|
||||
}
|
||||
Reference in New Issue
Block a user