Updating distribution

This commit is contained in:
Valet Bot
2022-01-07 19:45:53 +00:00
parent 74be75ac84
commit 51b31a805e
60 changed files with 1895 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
# frozen_string_literal: true
module IssueParser
def parameter_from_issue(name, text)
match = text.match(/#{name}: ([^\n]+)/)
return if match.nil?
match[1].strip
end
end
+9
View File
@@ -0,0 +1,9 @@
# frozen_string_literal: true
module OutputWriter
def set_output(name, value)
return if value.nil?
puts "::set-output name=#{name}::#{value}"
end
end