Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
katydecorah committed Dec 20, 2023
1 parent 45ecf8c commit de0abc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/read.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: read action
run-name: Book (${{ inputs.isbn }})
run-name: Book (${{ inputs.isbn }} - ${{ inputs.bookStatus }})

# Grant the action permission to write to the repository
permissions:
Expand Down
5 changes: 4 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35591,7 +35591,10 @@ async function updateBook(bookParams, currentBooks) {
(0,core.exportVariable)("BookTitle", book.title);
book = {
...book,
...dateType,
dateAdded: book.dateAdded || dateType?.dateAdded,
dateStarted: book.dateStarted || dateType?.dateStarted,
dateFinished: book.dateFinished || dateType?.dateFinished,
dateAbandoned: book.dateAbandoned || dateType?.dateAbandoned,
status: bookStatus,
...(rating && { rating }),
...(notes && { notes: addNotes(notes, book.notes) }),
Expand Down

0 comments on commit de0abc9

Please sign in to comment.