Skip to content

Commit e5aec0e

Browse files
committed
fix not found behavior
1 parent 0f1d1aa commit e5aec0e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

dist/index.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/downloadFileRunner.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ export const downloadFile: Runner = async ({
5050
return
5151
}
5252

53+
if (notFoundBehavior === 'output') {
54+
setOutput('file-not-found', 'false')
55+
return
56+
}
57+
5358
const headers = {
5459
Accept: 'application/octet-stream',
5560
Authorization: 'token ' + token

0 commit comments

Comments
 (0)