From 264d00271db11ff74dfadcf23f9721bd230421aa Mon Sep 17 00:00:00 2001 From: Tom Moor <380914+tommoor@users.noreply.github.com> Date: Wed, 4 Mar 2026 17:55:26 +0000 Subject: [PATCH] Add post-action cleanup step to remove CLI binary Add a cleanup step with `if: always()` to remove the downloaded linear-release binary after execution. --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index 74e6e8b..d8455ba 100644 --- a/action.yml +++ b/action.yml @@ -73,3 +73,8 @@ runs: INPUT_STAGE: ${{ inputs.stage }} INPUT_INCLUDE_PATHS: ${{ inputs.include_paths }} INPUT_LOG_LEVEL: ${{ inputs.log_level }} + + - name: Cleanup CLI binary + if: always() + shell: bash + run: rm -f "${{ github.action_path }}/linear-release"