Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare typespec-java 0.21.0 #2945

Merged
merged 9 commits into from
Sep 14, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/fluent-test-gen-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
submodules: 'true'

- name: Checkout azure-rest-api-specs
uses: actions/checkout@v4
with:
repository: azure/azure-rest-api-specs
path: azure-rest-api-specs

- name: Setup node.js 20
- name: Install node.js
uses: actions/setup-node@v4
with:
node-version: '20'
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/generate-test-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
type: choice
description: scope of the test code to generate
required: true
default: typespec
default: autorest
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should no longer need to generate typespec test code in this repo.

These should be synced from submodule (currently a cp -rf). If we update it often, we can add a script to copy.

options:
- all
- autorest
Expand All @@ -29,8 +29,9 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'

- name: Setup node 20
- name: Install node
uses: actions/setup-node@v4
with:
node-version: '20'
Expand All @@ -46,6 +47,13 @@ jobs:
distribution: 'zulu'
java-version: '11'

- name: Patch core
run: |
cd core
git checkout .
git apply ../core.diff --ignore-whitespace
cd ..

- name: Build autorest-java, install modules
run: |
mvn install -f pom.xml -P local,tsp --no-transfer-progress
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 195 files
4 changes: 4 additions & 0 deletions typespec-extension/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release History

## 0.20.2 (2024-09-13)

Compatible with compiler 0.60.

## 0.20.2 (2024-09-10)

Compatible with compiler 0.59.
Expand Down
Loading
Loading