init-cicd
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled

This commit is contained in:
TangHuan 2025-04-02 09:35:38 +08:00
parent d1eda2d1dc
commit b695c9fb46
2 changed files with 4 additions and 3 deletions

View File

@ -9,6 +9,7 @@ jobs:
- name: 克隆代码
uses: https://gitea.com/actions/checkout@v4
- name: 下载jdk
cache: "maven"
run: |
download_url="https://dragonwell.oss-cn-shanghai.aliyuncs.com/21.0.6.0.6%2B7-test-dragonwell_extended/Alibaba_Dragonwell_Extended_21.0.6.0.6.7_x64_linux.tar.gz"
wget -O $RUNNER_TEMP/java_package.tar.gz $download_url
@ -21,10 +22,10 @@ jobs:
architecture: x64
- name: 编译
run: mvn clean install -U -DskipTests -Pprod
run: chmod +x ./mvnw && ./mvnw clean install -U -DskipTests -Pprod
- name: 打包
run: mvn clean install -U -DskipTests -Pprod
run: ./mvnw clean install -U -DskipTests -Pprod
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository

View File

@ -16,4 +16,4 @@
# under the License.
wrapperVersion=3.3.2
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
distributionUrl=https://mirrors.huaweicloud.com/apache/maven/maven-3/3.9.7/binaries/apache-maven-3.9.9-bin.zip