Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runner to replace set-output #21

Open
SirNate0 opened this issue Nov 30, 2022 · 1 comment
Open

Update runner to replace set-output #21

SirNate0 opened this issue Nov 30, 2022 · 1 comment
Labels
devops good first issue Good for newcomers

Comments

@SirNate0
Copy link
Collaborator

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

- name: Source checksum
id: source_checksum
run: rake source_checksum

U3D/rakefile

Lines 338 to 344 in 3d0d370

task :source_checksum do
require 'digest'
sha256_final = Digest::SHA256.new
sha256_iter = Digest::SHA256
Dir['Source/**/*.{c,h}*'].each { |it| sha256_final << sha256_iter.file(it).hexdigest }
puts "::set-output name=hexdigest::#{sha256_final.hexdigest}"
end

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/

klaussilveira added a commit that referenced this issue Oct 12, 2024
Update linux workflow and Fix Rakefile (set-output replaced, issue #21)
@Okkoma
Copy link
Contributor

Okkoma commented Nov 14, 2024

see merged PR #74 => to close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants