Skip to content

Commit 21e832e

Browse files
committed
Revert "Java 17 and install dependencies"
This reverts commit e6d3d10.
1 parent 4f7c54c commit 21e832e

File tree

2 files changed

+21
-11
lines changed

2 files changed

+21
-11
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# This local action sets up code dependencies
3+
# to run Smithy-Dafny CI in GitHub Actions workflows.
4+
#
5+
6+
name: "Install Smithy-Dafny codegen dependencies"
7+
description: "Install Java package dependencies required to run Smithy-Dafny codegen"
8+
runs:
9+
using: "composite"
10+
steps:
11+
- name: Install smithy-dafny-codegen Rust dependencies locally
12+
uses: gradle/gradle-build-action@v2
13+
with:
14+
arguments: :codegen-client:pTML :codegen-core:pTML :rust-runtime:pTML
15+
build-root-directory: submodules/smithy-dafny/smithy-dafny-codegen-modules/smithy-rs
16+
17+
- name: Install smithy-dafny-codegen Python dependencies locally
18+
uses: gradle/gradle-build-action@v2
19+
with:
20+
arguments: :smithy-python-codegen:pTML
21+
build-root-directory: submodules/smithy-dafny/codegen/smithy-dafny-codegen-modules/smithy-python/codegen

.github/actions/polymorph_codegen/action.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,6 @@ runs:
6666
git pull
6767
git submodule update --init --recursive
6868
69-
- name: Setup Java 17 for smithy-dafny
70-
uses: actions/setup-java@v3
71-
with:
72-
distribution: "corretto"
73-
java-version: 17
74-
75-
- name: Install smithy-dafny dependencies locally
76-
shell: bash
77-
run: |
78-
make -C submodules/smithy-dafny mvn_local_deploy_polymorph_dependencies
79-
8069
- name: Update top-level project.properties file in MPL
8170
if: inputs.update-and-regenerate-mpl == 'true'
8271
shell: bash

0 commit comments

Comments
 (0)