Skip to content

Commit

Permalink
fix: next step
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed Dec 21, 2023
1 parent 79a9457 commit cdd48c0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
2 changes: 1 addition & 1 deletion badges/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ import { logInfo, logDebug, logWarning } from './log'
*/
export default async function run({ github, context, inputs, metadata }) {
try {
logInfo('gh:')
logInfo(JSON.stringify(github))
logInfo('context:')
logInfo(JSON.stringify(context))
logInfo('inputs:')
logInfo(JSON.stringify(inputs))

if (metadata !== undefined) {
if (metadata !== undefined && metadata !== null) {
logInfo('metadata:')
logInfo(JSON.stringify(metadata))

logInfo(metadata.previousVersion)
logInfo(metadata.newVersion)
}

// init octokit
Expand Down

0 comments on commit cdd48c0

Please sign in to comment.