-
https://github.com/fluffy-bunny/typescript-action-needs/actions I started with the typescript-action template and made 2 modificaitons.
I wanted to test the dist/index.js that the build job produces.
result:
The build job produced the dist/index.js, but the test job is not seing it. Why? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If those are separate jobs they will run on separate runners, so the “test” job does not (automatically) get the data from the “build” job. Depending on your workflow it may make sense to use one job that does both, or you could use cache or artifact actions to pass data between jobs. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/fluffy-bunny/typescript-action-needs/blob/master/.github/workflows/test.yml
upload->download artifact works for my use case. Thank you |
Beta Was this translation helpful? Give feedback.
https://github.com/fluffy-bunny/typescript-action-needs/blob/master/.github/workflows/test.yml