Skip to content

Commit 4089f55

Browse files
committed
a
1 parent 5dec195 commit 4089f55

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/dafny-interop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
getMplHeadVersion:
2525
uses: ./.github/workflows/mpl_head_version.yml
2626
with:
27-
mpl-head: false
27+
mpl-head: ${{inputs.mpl-commit}}
2828
dafny-interop-java:
2929
needs: getMplHeadVersion
3030
uses: ./.github/workflows/dafny_interop_java.yml

.github/workflows/mpl_head_version.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ on:
99
mpl-head:
1010
description: "Using MPL HEAD?"
1111
required: true
12-
type: boolean
12+
default: main
13+
type: string
1314
outputs:
1415
version:
1516
description: "The dafny version for verify"
@@ -25,11 +26,10 @@ jobs:
2526
with:
2627
submodules: recursive
2728
- name: Update MPL submodule locally if requested
28-
if: ${{inputs.mpl-head == true }}
2929
working-directory: submodules/MaterialProviders
3030
shell: bash
3131
run: |
32-
git checkout main
32+
git checkout ${{inputs.mpl-head}}
3333
git pull
3434
git submodule update --init --recursive
3535
git rev-parse HEAD

0 commit comments

Comments
 (0)