bevyengine / bevy_github_ci_template

Apache License 2.0
202 stars 45 forks source link

Resolves warnings related to Node.js 12 and set-output being deprecated #31

Closed rowanfr closed 1 year ago

rowanfr commented 1 year ago

This pull request is a minor change to the overall template that upgrades 1 library, changes 1 library to an identical upstream one, and changes some syntax but is ultimately identical in function.

Due to set-output being deprecated this uses echo "has-itch-target=no" >> $GITHUB_OUTPUT instead as recommended by the warning in github actions.

Due to Node.js 12 no longer being supported this also upgrades actions/checkout@v2 to actions/checkout@v3 which uses Node.js 16 and little-core-labs/get-git-tag@v3.0.1 is changed to olegtarasov/get-tag@v2.1.2. little-core-labs/get-git-tag is originally a branch of olegtarasov/get-tag so they have nearly identical functionality. The main reason to switch back to the upstream library is that little-core-labs/get-git-tag has not been updated in a year and hasn't been updated to support Node.js 16 in comparison to olegtarasov/get-tag which has.

This pull request doesn't change anything in regards to functionality and instead only future proofs this template for later use.