From cae52c2022b6f99492e3035ddb1e438d7bbd0fd9 Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Tue, 19 Nov 2024 20:11:21 -0800 Subject: [PATCH] update --- .github/workflows/nvidia_workflow.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nvidia_workflow.yml b/.github/workflows/nvidia_workflow.yml index 5df46df..e523007 100644 --- a/.github/workflows/nvidia_workflow.yml +++ b/.github/workflows/nvidia_workflow.yml @@ -37,9 +37,12 @@ jobs: - name: Create script file run: | python3 -c " + import textwrap + content = textwrap.dedent('''${{ github.event.inputs.script_content }}''') with open('${{ github.event.inputs.filename }}', 'w') as f: - f.write('''${{ github.event.inputs.script_content }}''') + f.write(content) " + cat ${{ github.event.inputs.filename }} # Debug: show file contents - name: Install dependencies run: |