Skip to content

Commit 8e4873a

Browse files
committed
Fix inputs
1 parent 4b150cb commit 8e4873a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ runs:
128128
129129
def _main() -> None:
130130
# --- Inputs ---
131-
name = os.getenv("INPUT_NAME") or "artifact"
132-
search_path = os.getenv("INPUT_PATH")
131+
name = "${{ inputs.name }}" or "artifact"
132+
auth_token = "${{ inputs.token }"
133+
search_path = "${{ inputs.path }}"
134+
133135
if not search_path:
134136
_error("The 'path' input is required")
135137
136-
auth_token = os.getenv("INPUT_TOKEN", "")
137-
138138
# --- Environment ---
139139
api_url = os.getenv("FORREST_API_URL")
140140
if not api_url:

0 commit comments

Comments
 (0)