get-version-action icon indicating copy to clipboard operation
get-version-action copied to clipboard

`set-output` command is deprecated

Open andersc opened this issue 2 years ago • 7 comments

[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/

andersc avatar Dec 15 '22 14:12 andersc

Since this repository seams stale. I did a drop replace using ->

CarterChen247/version-retriever@v1

to get rid of the deprecation messages.

andersc avatar Jan 25 '23 14:01 andersc

CarterChen247/version-retriever@v1

Here the link for whoever wants it: https://github.com/carterchen247/version-retriever

caco3 avatar Feb 11 '23 21:02 caco3

I've updated this repository in a fork here https://github.com/dhkatz/get-version-action

dhkatz avatar May 30 '23 10:05 dhkatz

another repo can be used https://github.com/maltoze/get-version-action

maltoze avatar Jul 19 '23 08:07 maltoze

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}"

Marcono1234 avatar Nov 05 '23 14:11 Marcono1234

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...

Yc-Chen avatar May 29 '24 09:05 Yc-Chen

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

danielsiegl avatar Aug 19 '24 14:08 danielsiegl