-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get FEniCSx refs from central workflow (#3537)
* Try getting fenicsx refs from central workflow. * Fix. * Fix. * Fix. * Fix. * Fix. * Use default behaviour for DOLFINx checkout. * Fix. * Rollout through ccpp * Rollout across all workflows. * Fix? * Fix. * Fix sonarcloud. * Fix up. * Fix.
- Loading branch information
Showing
8 changed files
with
94 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Set FEniCSx component git refs | ||
|
||
# Developers can set these refs to propagate a consistent set of git refs | ||
# across all workflows | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
basix_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.basix_ref }} | ||
ufl_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.ufl_ref }} | ||
ffcx_ref: | ||
value: ${{ jobs.fenicsx-refs.outputs.ffcx_ref }} | ||
|
||
jobs: | ||
fenicsx-refs: | ||
name: Set FEniCSx component git refs | ||
runs-on: ubuntu-latest | ||
|
||
outputs: | ||
basix_ref: ${{ steps.fenicsx-refs.outputs.basix_ref }} | ||
ufl_ref: ${{ steps.fenicsx-refs.outputs.ufl_ref }} | ||
ffcx_ref: ${{ steps.fenicsx-refs.outputs.ffcx_ref }} | ||
|
||
# Make necessary changes to right side of equality | ||
steps: | ||
- name: Set FEniCSx component git refs | ||
id: fenicsx-refs | ||
run: | | ||
echo "basix_ref=main" >> $GITHUB_OUTPUT | ||
echo "ufl_ref=main" >> $GITHUB_OUTPUT | ||
echo "ffcx_ref=main" >> $GITHUB_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters