Skip to content

Commit 1f1e65c

Browse files
authored
Add post-action cleanup step to remove CLI binary (#12)
Add a cleanup step with `if: always()` to remove the downloaded linear-release binary after execution. Co-authored-by: Tom Moor <380914+tommoor@users.noreply.github.com>
1 parent 87bd59d commit 1f1e65c

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,8 @@ runs:
7373
INPUT_STAGE: ${{ inputs.stage }}
7474
INPUT_INCLUDE_PATHS: ${{ inputs.include_paths }}
7575
INPUT_LOG_LEVEL: ${{ inputs.log_level }}
76+
77+
- name: Cleanup CLI binary
78+
if: always()
79+
shell: bash
80+
run: rm -f "${{ github.action_path }}/linear-release"

0 commit comments

Comments
 (0)