Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8d5b7edf12 | ||
|
|
e74dc64a9a |
@@ -49,25 +49,25 @@ jobs:
|
|||||||
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
||||||
cd neutrino-proxy-server
|
cd neutrino-proxy-server
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
cp target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref }}
|
cp target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref_name }}
|
||||||
- name: Archive zip (neutrino-proxy-server)
|
- name: Archive zip (neutrino-proxy-server)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-server-${{ github.ref }}'
|
path: 'neutrino-proxy-server-${{ github.ref_name }}'
|
||||||
filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip
|
filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
- name: Build with Maven (neutrino-proxy-client)
|
- name: Build with Maven (neutrino-proxy-client)
|
||||||
run: |
|
run: |
|
||||||
cd neutrino-proxy-client
|
cd neutrino-proxy-client
|
||||||
mvn clean package --file pom.xml --no-transfer-progress
|
mvn clean package --file pom.xml --no-transfer-progress
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
cp target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref }}
|
cp target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref_name }}
|
||||||
- name: Archive zip (neutrino-proxy-client)
|
- name: Archive zip (neutrino-proxy-client)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-client-${{ github.ref }}'
|
path: 'neutrino-proxy-client-${{ github.ref_name }}'
|
||||||
filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip
|
filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
# GitHub 上创建 release
|
# GitHub 上创建 release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@@ -76,7 +76,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
||||||
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
||||||
neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip
|
neutrino-proxy-server-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip
|
neutrino-proxy-client-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@@ -50,25 +50,25 @@ jobs:
|
|||||||
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
mvn clean install -pl neutrino-proxy-core -am -DskipTests --no-transfer-progress
|
||||||
cd neutrino-proxy-server
|
cd neutrino-proxy-server
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
xcopy target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref }}
|
xcopy target/neutrino-proxy-server ./../neutrino-proxy-server-${{ github.ref_name }}
|
||||||
- name: Archive zip (neutrino-proxy-server)
|
- name: Archive zip (neutrino-proxy-server)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-server-${{ github.ref }}'
|
path: 'neutrino-proxy-server-${{ github.ref_name }}'
|
||||||
filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip
|
filename: neutrino-proxy-server-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
- name: Build with Maven (neutrino-proxy-client)
|
- name: Build with Maven (neutrino-proxy-client)
|
||||||
run: |
|
run: |
|
||||||
cd neutrino-proxy-client
|
cd neutrino-proxy-client
|
||||||
mvn clean package --file pom.xml --no-transfer-progress
|
mvn clean package --file pom.xml --no-transfer-progress
|
||||||
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
mvn clean native:compile -P native --file pom.xml --no-transfer-progress
|
||||||
xcopy target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref }}
|
xcopy target/neutrino-proxy-client ./../neutrino-proxy-client-${{ github.ref_name }}
|
||||||
- name: Archive zip (neutrino-proxy-client)
|
- name: Archive zip (neutrino-proxy-client)
|
||||||
uses: thedoctor0/zip-release@master
|
uses: thedoctor0/zip-release@master
|
||||||
with:
|
with:
|
||||||
type: 'zip'
|
type: 'zip'
|
||||||
path: 'neutrino-proxy-client-${{ github.ref }}'
|
path: 'neutrino-proxy-client-${{ github.ref_name }}'
|
||||||
filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip
|
filename: neutrino-proxy-client-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
# GitHub 上创建 release
|
# GitHub 上创建 release
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
neutrino-proxy-server/target/neutrino-proxy-server.jar
|
||||||
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
neutrino-proxy-client/target/neutrino-proxy-client.jar
|
||||||
neutrino-proxy-server-${{ matrix.os }}-${{ github.ref }}.zip
|
neutrino-proxy-server-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
neutrino-proxy-client-${{ matrix.os }}-${{ github.ref }}.zip
|
neutrino-proxy-client-${{ matrix.os }}-${{ github.ref_name }}.zip
|
||||||
prerelease: true
|
prerelease: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
+1
@@ -43,6 +43,7 @@ public class NeutrinoServerRuntimeNativeRegistrar implements RuntimeNativeRegist
|
|||||||
@Override
|
@Override
|
||||||
public void register(AppContext context, RuntimeNativeMetadata metadata) {
|
public void register(AppContext context, RuntimeNativeMetadata metadata) {
|
||||||
metadata.registerResourceInclude("test.jks");
|
metadata.registerResourceInclude("test.jks");
|
||||||
|
metadata.registerResourceInclude("sql/.*");
|
||||||
|
|
||||||
// 使用 MP lambda 的类,需要注册序列化
|
// 使用 MP lambda 的类,需要注册序列化
|
||||||
metadata.registerLambdaSerialization(ClientConnectRecordService.class);
|
metadata.registerLambdaSerialization(ClientConnectRecordService.class);
|
||||||
|
|||||||
Reference in New Issue
Block a user