Skip to content

Commit f0f5c10

Browse files
prepare typespec-java 0.21.0 (#2945)
1 parent 0b06a0b commit f0f5c10

27 files changed

+876
-491
lines changed

.github/workflows/fluent-test-gen-all.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ jobs:
1919
steps:
2020
- name: Checkout branch
2121
uses: actions/checkout@v4
22+
with:
23+
submodules: 'true'
2224

2325
- name: Checkout azure-rest-api-specs
2426
uses: actions/checkout@v4
2527
with:
2628
repository: azure/azure-rest-api-specs
2729
path: azure-rest-api-specs
2830

29-
- name: Setup node.js 20
31+
- name: Install node.js
3032
uses: actions/setup-node@v4
3133
with:
3234
node-version: '20'

.github/workflows/generate-test-code.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
type: choice
77
description: scope of the test code to generate
88
required: true
9-
default: typespec
9+
default: autorest
1010
options:
1111
- all
1212
- autorest
@@ -29,8 +29,9 @@ jobs:
2929
uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32+
submodules: 'true'
3233

33-
- name: Setup node 20
34+
- name: Install node
3435
uses: actions/setup-node@v4
3536
with:
3637
node-version: '20'
@@ -46,6 +47,13 @@ jobs:
4647
distribution: 'zulu'
4748
java-version: '11'
4849

50+
- name: Patch core
51+
run: |
52+
cd core
53+
git checkout .
54+
git apply ../core.diff --ignore-whitespace
55+
cd ..
56+
4957
- name: Build autorest-java, install modules
5058
run: |
5159
mvn install -f pom.xml -P local,tsp --no-transfer-progress

core

Submodule core updated 470 files

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autorest/java",
3-
"version": "4.1.36",
3+
"version": "4.1.37",
44
"description": "The Java extension for classic generators in AutoRest.",
55
"scripts": {
66
"autorest": "autorest",

typespec-extension/changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 0.21.0 (2024-09-14)
4+
5+
Compatible with compiler 0.60.
6+
37
## 0.20.2 (2024-09-10)
48

59
Compatible with compiler 0.59.

0 commit comments

Comments
 (0)