Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
msaroufim committed Nov 20, 2024
1 parent cae52c2 commit 8febe40
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/nvidia_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ 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(content)
"
cat << 'EOL' > ${{ github.event.inputs.filename }}
${{ github.event.inputs.script_content }}
EOL
cat ${{ github.event.inputs.filename }} # Debug: show file contents
- name: Install dependencies
Expand Down

0 comments on commit 8febe40

Please sign in to comment.