Skip to content

Commit 80b1575

Browse files
committed
m
1 parent 21e832e commit 80b1575

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/actions/install_smithy_dafny_codegen_dependencies/action.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ description: "Install Java package dependencies required to run Smithy-Dafny cod
88
runs:
99
using: "composite"
1010
steps:
11+
- name: Setup Java 17 for smithy-dafny
12+
uses: actions/setup-java@v3
13+
with:
14+
distribution: "corretto"
15+
java-version: 17
16+
1117
- name: Install smithy-dafny-codegen Rust dependencies locally
1218
uses: gradle/gradle-build-action@v2
1319
with:
@@ -19,3 +25,9 @@ runs:
1925
with:
2026
arguments: :smithy-python-codegen:pTML
2127
build-root-directory: submodules/smithy-dafny/codegen/smithy-dafny-codegen-modules/smithy-python/codegen
28+
29+
# Without this the if-dafny-at-least command includes "Downloading ..." output
30+
- name: Arbitrary makefile target to force downloading Gradle
31+
shell: bash
32+
run: |
33+
make -C StandardLibrary setup_net

submodules/smithy-dafny

0 commit comments

Comments
 (0)