We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6df8c58 commit 9524fa1Copy full SHA for 9524fa1
1 file changed
.github/workflows/build.yaml
@@ -1,6 +1,15 @@
1
name: Spack buildcache build
2
3
-on: push
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
+ inputs:
9
+ name:
10
+ type: boolean
11
+ description: Create a fresh buildcache
12
+ default: false
13
14
env:
15
SPACK_BACKTRACE: please
@@ -20,8 +29,13 @@ jobs:
20
29
- name: Find compilers
21
30
run: spack -e . compiler find --mixed-toolchain
22
31
32
+ - name: Concretize (fresh)
33
+ run: spack -e . -v concretize
34
+ if: ${{ github.event.inputs.name == 'true' }}
35
+
23
36
- name: Concretize
24
37
run: spack -e . -v concretize
38
+ if: ${{ github.event.inputs.name == 'false' }}
25
39
26
40
- name: Install
27
41
run: |
0 commit comments