Skip to content

Commit 0dc48bd

Browse files
jhaleclaude
andcommitted
Fix fenicsx-refs.env loading on Windows using PowerShell syntax
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8ff653a commit 0dc48bd

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/pythonapp.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ jobs:
3232
- name: Checkout FFCx
3333
uses: actions/checkout@v6
3434

35-
- name: Load environment variables
35+
- name: Load environment variables (Unix)
36+
if: runner.os != 'Windows'
3637
run: cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
38+
- name: Load environment variables (Windows)
39+
if: runner.os == 'Windows'
40+
run: cat .github/workflows/fenicsx-refs.env >> $env:GITHUB_ENV
3741

3842
- name: Set up Python
3943
uses: actions/setup-python@v6

0 commit comments

Comments
 (0)