Skip to content

Commit

Permalink
remove old hash return values, debug log for unchanged actions
Browse files Browse the repository at this point in the history
  • Loading branch information
purplecabbage committed Sep 12, 2024
1 parent f71befc commit ffa00ba
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/build-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,8 @@ const prepareToBuildAction = async (action, root, dist) => {
})
}

let buildHash
if (isDirectory) {
buildHash = { [zipFileName]: actionFileStats.mtime.valueOf() }
} else {
buildHash = { [zipFileName]: statsInfo.hash }
}

return {
actionName,
buildHash,
legacy: defaultPackage,
outPath,
srcHash,
Expand Down Expand Up @@ -339,11 +331,10 @@ const buildActions = async (config, filterActions, skipCheck = false, emptyDist
toBuildList.push(buildResult)
} else {
// inform the user that the action has not changed ???
// console.log(`action ${actionFullName} has not changed`)
aioLogger.debug(`action ${actionFullName} has not changed`)
}
}
}

return zipActions(toBuildList, lastBuiltActionsPath, distFolder)
}

Expand Down

0 comments on commit ffa00ba

Please sign in to comment.