Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bling-yshs committed Apr 19, 2024
1 parent 357155f commit 9c59f89
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
7 changes: 6 additions & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,14 @@ async function run() {
core.info('end action')
}

async function main() {
await run()
core.info('确实结束了')
}

// run the action
try {
run().then(() => {
core.info('确实结束了')
})
main()
} catch (error) {
core.setFailed(error.message)
}

0 comments on commit 9c59f89

Please sign in to comment.