Skip to content

Commit ef1d280

Browse files
committed
don't hash non-existing requirements.txt
1 parent e323ad2 commit ef1d280

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,14 +261,11 @@ runs:
261261
shell: nu {0}
262262
run: |-
263263
let action_path = $env.GITHUB_ACTION_PATH | path expand
264-
let req_file = $action_path | path join 'requirements.txt'
265264
let lock_file = $action_path | path join 'uv.lock'
266265
let action_file = $action_path | path join 'action.yml'
267266
let key = (
268267
if ($lock_file | path exists) {
269268
open $lock_file --raw | hash sha256
270-
} else if ($req_file | path exists) {
271-
open $req_file --raw | hash sha256
272269
} else {
273270
open $action_file --raw | hash sha256
274271
}

0 commit comments

Comments
 (0)