2525
2626 steps :
2727 - uses : actions/checkout@v6
28+ - name : Load environment variables
29+ run : cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
2830 - name : Set up Python
2931 uses : actions/setup-python@v6
3032 with :
@@ -40,14 +42,14 @@ jobs:
4042
4143 - name : Install Basix
4244 run : |
43- python3 -m pip install git+https://github.com/FEniCS/basix. git
45+ python3 -m pip install git+https://github.com/${{ env.basix_repository }}. git@${{ env.basix_ref }}
4446
4547 - name : Clone FFCx
4648 uses : actions/checkout@v6
4749 with :
4850 path : ./ffcx
49- repository : FEniCS/ffcx
50- ref : main
51+ repository : ${{ env.ffcx_repository }}
52+ ref : ${{ env.ffcx_ref }}
5153
5254 - name : Install FFCx
5355 run : |
@@ -71,21 +73,24 @@ jobs:
7173 steps :
7274 - uses : actions/checkout@v6
7375
76+ - name : Load environment variables
77+ run : cat .github/workflows/fenicsx-refs.env >> $GITHUB_ENV
78+
7479 - name : Install UFL
7580 run : |
7681 pip3 install --break-system-packages .
7782
7883 - name : Install Basix and FFCx
7984 run : |
80- python3 -m pip install --break-system-packages git+https://github.com/FEniCS/basix. git
81- python3 -m pip install --break-system-packages git+https://github.com/FEniCS/ffcx. git
85+ python3 -m pip install --break-system-packages git+https://github.com/${{ env.basix_repository }}. git@${{ env.basix_ref }}
86+ python3 -m pip install --break-system-packages git+https://github.com/${{ env.ffcx_repository }}. git@${{ env.ffcx_ref }}
8287
8388 - name : Clone DOLFINx
8489 uses : actions/checkout@v6
8590 with :
8691 path : ./dolfinx
87- repository : FEniCS/dolfinx
88- ref : main
92+ repository : ${{ env.dolfinx_repository }}
93+ ref : ${{ env.dolfinx_ref }}
8994 - name : Install DOLFINx
9095 run : |
9196 cmake -G Ninja -DCMAKE_BUILD_TYPE=Developer -B build -S dolfinx/cpp/
0 commit comments