u3d-community / U3D

Open-source, cross-platform 2D and 3D game engine built in C++
https://u3d.io
MIT License
160 stars 26 forks source link

Update runner to replace set-output #21

Open SirNate0 opened 1 year ago

SirNate0 commented 1 year ago

Github is deprecating set-output in their runners: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Starting 1st June 2023 workflows using save-state or set-output commands via stdout will fail with an error.

We use this in checking the source checksum in the build runner https://github.com/u3d-community/U3D/blob/3d0d370042066efd351d6582c60584eec88b8227/.github/workflows/linux.yml#L44-L46

https://github.com/u3d-community/U3D/blob/3d0d370042066efd351d6582c60584eec88b8227/rakefile#L338-L344

Presently this just produces the following warning, but the end-date is listed above.

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/