diff --git a/.github/workflows/train_workflow.yml b/.github/workflows/train_workflow.yml index 5255892..1621c62 100644 --- a/.github/workflows/train_workflow.yml +++ b/.github/workflows/train_workflow.yml @@ -44,7 +44,9 @@ jobs: - name: Create training script if : inputs.script_type == 'py' # TODO: remove later run: | - echo '${{ inputs.script_content }}' > train.${{ inputs.script_type }} + cat << 'EOL' > train.${{ inputs.script_type }} + ${{ inputs.script_content }} + EOL cat train.${{ inputs.script_type }} - name: Compile and run CUDA script