actions / toolkit

The GitHub ToolKit for developing GitHub Actions.
https://github.com/features/actions
MIT License
5.02k stars 1.45k forks source link

Cannot use `@actions/github` and `@actions/artifact` together #1727

Open wolfy1339 opened 6 months ago

wolfy1339 commented 6 months ago

Describe the bug Due to differing versions of the Octokit modules, you cannot use these packages together

See https://github.com/octokit/plugin-rest-endpoint-methods.js/issues/737

To Reproduce Steps to reproduce the behavior:

  1. Install @actions/github and @actions/artifact modules
  2. Create a TypeScript source file that uses both packages
  3. Try to compile the TypeScript source file
  4. See error

Expected behavior For the used versions of Octokit to be in sync and the packages usable together

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

/cc @austenstone