Describe the enhancement
Method or an environment variable to retrieve action version specified in workflow.
Code Snippet
workflow.yml:
steps:
- uses: actions/my-action@v2
action code:
constversion=core.actionVersion();// ORconstversion=process.env.ACTION_VERSION
Additional information
This is useful when collecting usage statistics.
Describe the enhancement
Method or an environment variable to retrieve action version specified in workflow.
Code Snippet
workflow.yml:
action code:
Additional information
This is useful when collecting usage statistics.