get-version-action
get-version-action copied to clipboard
`set-output` command is deprecated
[Run] battila7/[email protected]
*
Warning: The set-output
command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Since this repository seams stale. I did a drop replace using ->
CarterChen247/version-retriever@v1
to get rid of the deprecation messages.
CarterChen247/version-retriever@v1
Here the link for whoever wants it: https://github.com/carterchen247/version-retriever
I've updated this repository in a fork here https://github.com/dhkatz/get-version-action
another repo can be used https://github.com/maltoze/get-version-action
Or if you just need the short ref name (e.g. v1.2.3
) you can use the github.ref_name
context property or the GITHUB_REF_NAME
environment variable.
And as shown in this answer you can also remove the prefix like this when using the Ubuntu runner, for example to remove the v
prefix:
echo "${GITHUB_REF_NAME#v}"
get-version-action
@dhkatz I tried your fork. In your doc it says use dhkatz/get-version-action@v3
but v3 is not available. I guess you wanted people to use the tag dhkatz/[email protected]
, or you should create a branch named v3
.
I wanted to raise an issue in your repo but it doesn't have issues...
I've updated this repository in a fork here https://github.com/dhkatz/get-version-action
I still get some Node.js stuff https://github.com/LieberLieber/LemonTree.Pipeline.Tools/actions/runs/10455213327