Skip to content
This repository was archived by the owner on Sep 20, 2025. It is now read-only.

Commit 5f272f9

Browse files
committed
chore(ci): add cleanup step
1 parent 7abe586 commit 5f272f9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/version.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Version
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
cleanup:
7+
description: 'Cleanup folders'
8+
type: boolean
9+
required: false
10+
default: false
511

612
jobs:
713
version:
@@ -58,3 +64,9 @@ jobs:
5864
env:
5965
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6066
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
67+
68+
- name: Cleanup folders
69+
run: |
70+
if [ "${{ github.event.inputs.cleanup }}" = "true" ]; then
71+
rm -rf .*
72+
fi

0 commit comments

Comments
 (0)