File tree Expand file tree Collapse file tree 2 files changed +21
-11
lines changed
install_smithy_dafny_codegen_dependencies Expand file tree Collapse file tree 2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change 66
66
git pull
67
67
git submodule update --init --recursive
68
68
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
-
80
69
- name : Update top-level project.properties file in MPL
81
70
if : inputs.update-and-regenerate-mpl == 'true'
82
71
shell : bash
You can’t perform that action at this time.
0 commit comments