Skip to content

Commit 42766f4

Browse files
authored
Feature: any file name (#14)
* feature: new input for any filename to be supported * mkdir
1 parent 19e3aed commit 42766f4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ inputs:
1212
description: 'Repository path with Environment action implementation'
1313
default: ''
1414
required: true
15+
implementation_file:
16+
description: 'Repository filename with Environment action implementation'
17+
default: 'action.yaml'
18+
required: true
1519
implementation_ref:
1620
description: 'Ref of environment action implementation'
1721
default: 'main'
@@ -78,7 +82,8 @@ runs:
7882
- name: Copy action
7983
shell: bash
8084
run: |
81-
mv ${{ steps.tmp.outputs.name }}/${{ inputs.implementation_path }}/ ./.environment_implementation/
85+
mkdir -p ./.environment_implementation/
86+
mv ${{ steps.tmp.outputs.name }}/${{ inputs.implementation_path }}/${{ inputs.implementation_file }} ./.environment_implementation/action.yaml
8287
8388
- name: Environment Info
8489
uses: ./.environment_implementation

0 commit comments

Comments
 (0)