This commit is contained in:
parent
d1eda2d1dc
commit
b695c9fb46
@ -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
|
||||
|
||||
2
.mvn/wrapper/maven-wrapper.properties
vendored
2
.mvn/wrapper/maven-wrapper.properties
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user