File tree 3 files changed +30
-4
lines changed
3 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 1
1
# This workflow reads the project.properties
2
- # into the enviornment variables
3
- # and then creates an output variable for `dafnyVerifyVersion`
2
+ # into the environment variables
3
+ # and then creates an output variable for `dafnyVerifyVersion `
4
+ name : Dafny Verify Version
5
+
6
+ on :
7
+ workflow_call :
8
+ outputs :
9
+ version :
10
+ description : " The dafny version for verify"
11
+ value : ${{ jobs.getDafnyVerifyVersion.outputs.version }}
12
+
13
+ jobs :
14
+ getDafnyVerifyVersion :
15
+ runs-on : ubuntu-latest
16
+ outputs :
17
+ version : ${{ steps.read_property.outputs.dafnyVerifyVersion }}
18
+ steps :
19
+ - uses : actions/checkout@v4
20
+ - name : Read version from Properties-file
21
+ id : read_property
22
+ uses :
christian-draeger/[email protected]
23
+ with :
24
+ path : " ./project.properties"
25
+ properties : " dafnyVerifyVersion"
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
getVersion :
9
9
uses : ./.github/workflows/dafny_version.yml
10
+ getVerifyVersion :
11
+ uses : ./.github/workflows/dafny_verify_version.yml
10
12
pr-ci-format :
11
13
needs : getVersion
12
14
uses : ./.github/workflows/library_format.yml
21
23
needs : getVersion
22
24
uses : ./.github/workflows/library_dafny_verification.yml
23
25
with :
24
- dafny : ${{needs.getVersion .outputs.version}}
26
+ dafny : ${{needs.getVerifyVersion .outputs.version}}
25
27
pr-ci-java :
26
28
needs : getVersion
27
29
uses : ./.github/workflows/ci_test_java.yml
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
getVersion :
11
11
uses : ./.github/workflows/dafny_version.yml
12
+ getVerifyVersion :
13
+ uses : ./.github/workflows/dafny_verify_version.yml
12
14
push-ci-format :
13
15
needs : getVersion
14
16
uses : ./.github/workflows/library_format.yml
23
25
needs : getVersion
24
26
uses : ./.github/workflows/library_dafny_verification.yml
25
27
with :
26
- dafny : ${{needs.getVersion .outputs.version}}
28
+ dafny : ${{needs.getVerifyVersion .outputs.version}}
27
29
pr-ci-java :
28
30
needs : getVersion
29
31
uses : ./.github/workflows/ci_test_java.yml
You can’t perform that action at this time.
0 commit comments