1
0
Fork 0
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:
Marcono1234 2021-09-28 15:47:06 +02:00 committed by GitHub
parent ea81280a4d
commit 60145e408c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 48 additions and 2 deletions

View file

@ -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.
*/

View file

@ -32,6 +32,7 @@ export function toCommandProperties(
return {
title: annotationProperties.title,
file: annotationProperties.file,
line: annotationProperties.startLine,
endLine: annotationProperties.endLine,
col: annotationProperties.startColumn,