mirror of
https://github.com/actions/toolkit
synced 2025-05-09 16:43:02 +00:00
Add file
property to AnnotationProperties
(#896)
This commit is contained in:
parent
ea81280a4d
commit
60145e408c
4 changed files with 48 additions and 2 deletions
|
@ -41,6 +41,11 @@ export interface AnnotationProperties {
|
|||
*/
|
||||
title?: string
|
||||
|
||||
/**
|
||||
* The path of the file for which the annotation should be created.
|
||||
*/
|
||||
file?: string
|
||||
|
||||
/**
|
||||
* The start line for the annotation.
|
||||
*/
|
||||
|
|
|
@ -32,6 +32,7 @@ export function toCommandProperties(
|
|||
|
||||
return {
|
||||
title: annotationProperties.title,
|
||||
file: annotationProperties.file,
|
||||
line: annotationProperties.startLine,
|
||||
endLine: annotationProperties.endLine,
|
||||
col: annotationProperties.startColumn,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue