diff --git a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_create_action_item_action.rb b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_create_action_item_action.rb index 090feea..428f28f 100644 --- a/lib/fastlane/plugin/ddg_apple_automation/actions/asana_create_action_item_action.rb +++ b/lib/fastlane/plugin/ddg_apple_automation/actions/asana_create_action_item_action.rb @@ -55,7 +55,7 @@ def self.run(params) UI.user_error!("Failed to create subtask for task: #{e}") end - Helper::GitHubActionsHelper.set_output("new_task_id", subtask.gid) if subtask&.gid + Helper::GitHubActionsHelper.set_output("asana_new_task_id", subtask.gid) if subtask&.gid end def self.description diff --git a/spec/asana_create_action_item_action_spec.rb b/spec/asana_create_action_item_action_spec.rb index 69d9ab4..f7750e2 100644 --- a/spec/asana_create_action_item_action_spec.rb +++ b/spec/asana_create_action_item_action_spec.rb @@ -89,7 +89,7 @@ it "correctly sets output" do allow(@asana_client_tasks).to receive(:create_subtask_for_task).and_return(double('subtask', gid: "42")) test_action(task_url: task_url, task_name: task_name, notes: "notes", is_scheduled_release: true) - expect(Fastlane::Helper::GitHubActionsHelper).to have_received(:set_output).with("new_task_id", "42") + expect(Fastlane::Helper::GitHubActionsHelper).to have_received(:set_output).with("asana_new_task_id", "42") end end