Skip to content

Commit 736e387

Browse files
committed
m
1 parent eb6f8b9 commit 736e387

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci_test_latest_released_mpl_java.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,15 @@ on:
99
pull_request:
1010

1111
jobs:
12+
getVersion:
13+
# Don't run the cron builds on forks
14+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
15+
uses: ./.github/workflows/dafny_version.yml
16+
getVerifyVersion:
17+
if: github.event_name != 'schedule' || github.repository_owner == 'aws'
18+
uses: ./.github/workflows/dafny_verify_version.ym
1219
testJava:
20+
needs: getVersion
1321
strategy:
1422
max-parallel: 1
1523
matrix:
@@ -40,7 +48,7 @@ jobs:
4048
- name: Setup Dafny
4149
uses: dafny-lang/[email protected]
4250
with:
43-
dafny-version: ${{ inputs.dafny }}
51+
dafny-version: ${{ needs.getVersion.outputs.version }}
4452

4553
- name: Regenerate code using smithy-dafny if necessary
4654
if: ${{ inputs.regenerate-code }}

0 commit comments

Comments
 (0)