diff --git a/dist/index.js b/dist/index.js index f3e7827a..c82d5a93 100644 --- a/dist/index.js +++ b/dist/index.js @@ -122019,6 +122019,8 @@ function cleanBook(options, book) { const identifier = isLibrofm ? getLibrofmId(inputIdentifier) : inputIdentifier; + // Github log "book" + (0,core.info)(`Book information: ${JSON.stringify(book, null, 2)}`); return { identifier, identifiers: { diff --git a/src/providers/isbn.ts b/src/providers/isbn.ts index 3323cfc3..d32eeacd 100644 --- a/src/providers/isbn.ts +++ b/src/providers/isbn.ts @@ -2,7 +2,7 @@ import Isbn, { Book } from "@library-pals/isbn"; import { BookParams } from ".."; import { NewBook } from "../new-book"; import { formatDescription, getLibrofmId } from "../utils"; -import { exportVariable, getInput, warning } from "@actions/core"; +import { exportVariable, getInput, warning, info } from "@actions/core"; export async function getIsbn( options: BookParams, @@ -54,6 +54,9 @@ export function cleanBook(options: BookParams, book: Book): NewBook { ? getLibrofmId(inputIdentifier) : inputIdentifier; + // Github log "book" + info(`Book information: ${JSON.stringify(book, null, 2)}`); + return { identifier, identifiers: {