将项目迁移到GitHub https://github.com/DeerGiteaMirror/Dominion
All checks were successful
Java CI-CD with Gradle / build (push) Successful in 4m55s
All checks were successful
Java CI-CD with Gradle / build (push) Successful in 4m55s
This commit is contained in:
parent
eeb0f1adc7
commit
a4c61f183c
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -16,16 +16,12 @@ jobs:
|
|||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'temurin'
|
distribution: 'zulu'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
- name: "Build with Gradle"
|
- name: "Build with Gradle"
|
||||||
run: ./gradlew buildPlugin
|
run: ./gradlew buildPlugin
|
||||||
- name: "Copy jar to staging"
|
- name: "Copy jar to staging"
|
||||||
run: mkdir staging && cp build/libs/*.jar staging/
|
run: mkdir staging && cp build/libs/*.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"
|
- name: "Build & test"
|
||||||
run: |
|
run: |
|
||||||
echo "done!"
|
echo "done!"
|
||||||
@ -34,6 +30,5 @@ jobs:
|
|||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
automatic_release_tag: "latest"
|
automatic_release_tag: "latest"
|
||||||
prerelease: false
|
prerelease: false
|
||||||
title: "Release ${{ env.RELEASE_VERSION }}"
|
|
||||||
files: |
|
files: |
|
||||||
staging/*.jar
|
staging/*.jar
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<img src="https://ssl.lunadeer.cn:14437/i/2024/03/28/6604f0cec0f0e.png" alt="" width="70%">
|
<img src="https://ssl.lunadeer.cn:14437/i/2024/03/28/6604f0cec0f0e.png" alt="" width="70%">
|
||||||
|
|
||||||
### [开源地址](https://ssl.lunadeer.cn:14446/zhangyuheng/Dominion) | [文档地址](https://ssl.lunadeer.cn:14448/doc/23/)
|
### [开源地址](https://github.com/DeerGiteaMirror/Dominion) | [文档地址](https://ssl.lunadeer.cn:14448/doc/23/)
|
||||||
|
|
||||||
### [下载页面](https://ssl.lunadeer.cn:14446/zhangyuheng/Dominion/releases)
|
### [下载页面](https://ssl.lunadeer.cn:14446/zhangyuheng/Dominion/releases)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user