File tree Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Expand file tree Collapse file tree 1 file changed +8
-20
lines changed Original file line number Diff line number Diff line change @@ -22,28 +22,16 @@ runs:
22
22
git pull
23
23
git submodule update --init --recursive
24
24
cat project.properties
25
-
26
- - name : Update top-level project.properties file in MPL
27
- if : inputs.update-and-regenerate-mpl == 'true'
28
- shell : bash
29
- working-directory : submodules/MaterialProviders
30
- run : |
31
- make generate_properties_file
32
-
33
- # Update the project.properties file so that we pick up the right runtimes etc.,
34
- # in cases where inputs.dafny is different from the current value in that file.
35
- - name : Generate smithy-dafny-project.properties file
36
- if : inputs.update-and-regenerate-mpl == 'true'
37
- env :
38
- DAFNY_VERSION : ${{ inputs.dafny }}
39
- shell : bash
40
- run : |
41
- make generate_properties_file
25
+
26
+ - name : Get the MPL version from the MPL submodule
27
+ id : read_property
28
+ uses :
christian-draeger/[email protected]
29
+ with :
30
+ path : " submodules/MaterialProviders//project.properties"
31
+ properties : " mplVersion"
42
32
43
33
- name : Update top-level project.properties file
44
- if : inputs.update-and-regenerate-mpl == 'true'
45
34
shell : bash
46
35
run : |
47
- awk -F= '!a[$1]++' smithy-dafny-project.properties project.properties > merged.properties
48
- mv merged.properties project.properties
36
+ echo ${{ steps.read_property.outputs.mplVersion }}
49
37
cat project.properties
You can’t perform that action at this time.
0 commit comments