-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NormanGyllenhaal/canal-client#21 NormanGyllenhaal/canal-client#17 NormanGyllenhaal/canal-client#20 NormanGyllenhaal/canal-client#18 NormanGyllenhaal/canal-client#16 NormanGyllenhaal/canal-client#10 NormanGyllenhaal/canal-client#8 NormanGyllenhaal/canal-client#5 NormanGyllenhaal/canal-client#4 feat: 支持jdk17/springboot3.x(不支持jdk8) 支持mybatis plus注解 升级canal-client版本
- Loading branch information
1 parent
e28c8a6
commit 60e75b1
Showing
5 changed files
with
63 additions
and
62 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build And Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
# 配置权限 | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
steps: | ||
# 下载代码 | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK 17 | ||
# 安装 JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '17' | ||
distribution: 'temurin' | ||
cache: maven | ||
# 配置 settings.xml 一般用于 Mavne 私库验证等 | ||
# - name: maven-settings-xml-action | ||
# uses: whelk-io/maven-settings-xml-action@v20 | ||
# with: | ||
# repositories: '' | ||
# servers: '' | ||
# Maven 打包 | ||
- name: Build with Maven | ||
run: mvn clean package -DskipTests -Prelease -fpom.xml | ||
# 将打包好的 Jar 包 放到 staging 文件夹 | ||
- run: mkdir staging && cp target/*.jar staging | ||
# 设置 jobs Maven pom 版本环境变量 | ||
- name: Set Release version env variable | ||
run: | | ||
echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV | ||
- name: "Build & Test" | ||
run: | | ||
echo "done!" | ||
# 上传文件并发布 Release | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.RELEASE_TOKEN }}" | ||
automatic_release_tag: "${{ env.RELEASE_VERSION }}" | ||
prerelease: false | ||
title: "Release ${{ env.RELEASE_VERSION }}" | ||
files: | | ||
staging/*.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters