pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
887 stars 84 forks source link

fix: add missing `outputs` metadata to action.yml #127

Closed rhysd closed 2 months ago

rhysd commented 3 months ago

This PR adds outputs metadata to action.yml. The metadata is explained in the following official document:

https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions

Though it is optional, the metadata is useful for some static analysis. For example, actionlint can statically check the outputs are used correctly in a workflow.

rhysd commented 2 months ago

CI failed but the reason doesn't seem related to this PR change:

Attempting to download 12.22.12...
Not found in manifest. Falling back to download directly from Node
Error: Unable to find Node version '12.22.12' for platform darwin and architecture arm64.

I guess this is caused by that Node.js v12 reached the end of life and Node.js dropped the support.