Skip to content

Commit 6f76adf

Browse files
committed
Add write_mode input
1 parent cb3b562 commit 6f76adf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ inputs:
44
filepath: # id of input
55
description: 'A file path where to read source code'
66
required: false
7+
write_mode:
8+
description: 'Output write mode(overwrite/append)'
9+
required: false
10+
default: 'overwrite'
711
runs:
812
using: "composite"
913
steps:
1014
- id: run-funcs
1115
run: |
16+
export GITFX_WRITE_MODE=${{ inputs.write_mode }}
1217
python3 -m pip install gitfx
1318
python3 -m gitfx ${{ inputs.filepath }}
1419
shell: bash

0 commit comments

Comments
 (0)