diff --git a/actions/release-plan/action.yml b/actions/release-plan/action.yml index 6770589..bf16575 100644 --- a/actions/release-plan/action.yml +++ b/actions/release-plan/action.yml @@ -37,9 +37,6 @@ inputs: required: true outputs: - plan: - description: ReleasePlan v1 JSON. - value: ${{ steps.plan.outputs.plan }} ready: description: Whether the plan is ready for the next stage. value: ${{ steps.plan.outputs.ready }} @@ -115,11 +112,7 @@ runs: echo !empty($plan["ready"]) ? "true" : "false"; ' "${plan_file}")" - delimiter="release-plan-${RANDOM}-${RANDOM}" { - echo "plan<<${delimiter}" - cat "${plan_file}" - echo "${delimiter}" echo "ready=${ready}" echo "plan-path=${plan_file}" } >> "${GITHUB_OUTPUT}" diff --git a/tests/test_release_plan_action.py b/tests/test_release_plan_action.py index 5aa3c5c..72aa50f 100644 --- a/tests/test_release_plan_action.py +++ b/tests/test_release_plan_action.py @@ -31,12 +31,15 @@ def test_action_exposes_release_plan_v1_inputs_and_outputs(self) -> None: "ignore-open-backport:", "create-follow-up-milestone:", "config-path:", - "plan:", "ready:", "tool-version:", + "tool-path:", + "plan-path:", ): self.assertIn(expected, content) + self.assertNotIn("description: ReleasePlan v1 JSON.", content) + for transitional in ( "mode:", "safe-public-text:",