Skip to content

Commit 1ee0b8d

Browse files
committed
update
1 parent cfafcef commit 1ee0b8d

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/dafny-interop.yml

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ on:
2323
jobs:
2424
getMplHeadVersion:
2525
uses: ./.github/workflows/mpl_head_version.yml
26+
with:
27+
mpl-head: false
2628
dafny-interop-java:
2729
needs: getMplHeadVersion
2830
uses: ./.github/workflows/dafny_interop_java.yml

.github/workflows/mpl-head.yml

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
getMplHeadVersion:
1717
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
1818
uses: ./.github/workflows/mpl_head_version.yml
19+
with:
20+
mpl-head: true
1921
mpl-head-ci-format:
2022
needs: getVersion
2123
if: github.event_name != 'schedule' || github.repository_owner == 'aws'

.github/workflows/mpl_head_version.yml

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ name: MPL HEAD Version
55

66
on:
77
workflow_call:
8+
inputs:
9+
mpl-head:
10+
description: "Using MPL HEAD?"
11+
required: true
12+
type: boolean
813
outputs:
914
version:
1015
description: "The dafny version for verify"
@@ -20,6 +25,7 @@ jobs:
2025
with:
2126
submodules: recursive
2227
- name: Update MPL submodule locally if requested
28+
if: ${{inputs.mpl-head}} == 'true'
2329
working-directory: submodules/MaterialProviders
2430
shell: bash
2531
run: |

0 commit comments

Comments
 (0)