Updating distribution
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user