fix: reporting fetch failure as job error and log the error (#2715)
E.g. if GoGitAction Cache had a fetch failure this error did not trigger report jobResult Failure. Also the error has been not printed until the last message before exit of act. * adds tests for both corner cases
This commit is contained in:
8
pkg/runner/testdata/action-cache-v2-fetch-failure-is-job-error/push.yml
vendored
Normal file
8
pkg/runner/testdata/action-cache-v2-fetch-failure-is-job-error/push.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
name: basic
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: nektos/test-override@a
|
||||
Reference in New Issue
Block a user