File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
.github/actions/validate-deployment-settings Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ outputs:
21
21
runs :
22
22
using : composite
23
23
steps :
24
+ # ###############
25
+ # SPACK CHECKS #
26
+ # ###############
24
27
- name : Check All Spack Major Versions in Prerelease are in Release
25
28
id : spack-maj-all-pre-in-rel
26
29
shell : bash
93
96
echo "msg=$msg" >> $GITHUB_OUTPUT
94
97
fi
95
98
99
+ rm -rf ${{ env.CHECKOUT_DIR }}
100
+
101
+ # ######################
102
+ # SPACK-CONFIG CHECKS #
103
+ # ######################
104
+ - name : Verify spack-config Tag Exists
105
+ id : spack-config-tag-exists
106
+ shell : bash
107
+ env :
108
+ GH_TOKEN : ${{ github.token }}
109
+ CHECKOUT_DIR : ./spack-config-metadata
110
+ run : |
111
+ gh repo clone access-nri/spack-config ${{ env.CHECKOUT_DIR }} -- --no-checkout --bare --filter=blob:none
112
+
113
+ if ! git -C ${{ env.CHECKOUT_DIR }} tag -l $spack_config_tag; then
114
+ msg="Tag $spack_config_tag does not exist in access-nri/spack-config"
115
+ echo "::${{ inputs.error-level }}::$msg"
116
+ echo "msg=$msg" >> $GITHUB_OUTPUT
117
+ fi
118
+
119
+ rm -rf ${{ env.CHECKOUT_DIR }}
120
+
121
+ # ######################
122
+ # END OF ACTION STEPS #
123
+ # ######################
96
124
- name : Warning/Error Collector
97
125
id : collector
98
126
shell : bash
You can’t perform that action at this time.
0 commit comments