Skip to content

Commit

Permalink
🐳
Browse files Browse the repository at this point in the history
  • Loading branch information
iohao committed Apr 17, 2024
1 parent 17671ad commit d9b0d1e
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy Javadoc

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
steps:
- name: Deploy JavaDoc 🚀
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: javadoc
java-version: 21
target-folder: javadoc # url will be https://<username>.github.io/<repo>/javadoc, This can be left as nothing to generate javadocs in the root folder.
project: maven # or gradle
# subdirectories: moduleA moduleB #for subdirectories support, needs to be run with custom command
47 changes: 47 additions & 0 deletions doc_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,53 @@ https://www.yuque.com/iohao/game/ab15oe



#### 2024-04-16 - v21.5

https://github.com/iohao/ioGame/releases/tag/21.5



1. 增强 ClassScanner 类
2. 优化模拟客户端
3. [#258](about:blank) 文档生成,兼容 gradle 编译路径
4. enhance jprotobuf,临时解决打包后不能在 linux java21 环境运行的问题,see [java21,springBoot3.2 打 jar 后使用异常 · Issue #211 · jhunters/jprotobuf (github.com)](https://github.com/jhunters/jprotobuf/issues/211)
5. 生成 .proto 时,在最后打印文件路径

1. [#255](https://github.com/iohao/ioGame/issues/255) 关于 Proto 生成排除属性问题

```java
/**
* 动物
*/
@ProtobufClass
@FieldDefaults(level = AccessLevel.PUBLIC)
public class Animal {
/** id */
int id;
/** 动物类型 - 枚举测试 */
AnimalType animalType;
/** 年龄 - 忽略的属性*/
@Ignore
String age;
}
```



生成后的 .proto

```protobuf
// 动物
message Animal {
// id
int32 id = 1;
// 动物类型 - 枚举测试
AnimalType animalType = 2;
}
```



#### 2024-03-28 - v21.4

https://github.com/iohao/ioGame/releases/tag/21.4
Expand Down

0 comments on commit d9b0d1e

Please sign in to comment.