Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/github-packages-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,24 @@ jobs:
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Print Maven version
run: ./mvnw -version
- name: install dependencies
run: mvn clean -B install -U package -pl '!spring-cloud-alibaba-coverage' -DskipTests
run: ./mvnw clean -B install -U package -pl '!spring-cloud-alibaba-coverage' -DskipTests
- name: cat ~/.m2/settings.xml
run: |
cat ~/.m2/settings.xml
- name: Deploy to GitHub Package Maven
run: |
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
echo "Project version: $VERSION"
if [[ "$VERSION" != *"-SNAPSHOT" ]]; then
echo "Not a snapshot version. Skipping deployment."
exit 0
fi
mvn clean -B deploy -pl . -DskipTests
cd $GITHUB_WORKSPACE/spring-cloud-alibaba-dependencies
mvn clean -B deploy -DskipTests
cd $GITHUB_WORKSPACE/spring-cloud-alibaba-starters
mvn clean -B deploy -DskipTests
(./mvnw clean -B deploy -pl . -DskipTests)
(cd $GITHUB_WORKSPACE/spring-cloud-alibaba-dependencies && $GITHUB_WORKSPACE/mvnw clean -B deploy -DskipTests)
(cd $GITHUB_WORKSPACE/spring-cloud-alibaba-starters && $GITHUB_WORKSPACE/mvnw clean -B deploy -DskipTests)
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Delete snapshots from the Maven local repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:
run: ./mvnw clean -B -T 1C install -U package -pl '!spring-cloud-alibaba-coverage' -DskipTests
- name: Testing
run: ./mvnw verify -B -T 1C -Dmaven.test.skip=false
# run: mvn clean -Dit.enabled=true test
# run: ./mvnw clean -B -Dit.enabled=true test
- name: Delete snapshots from the Maven local repository
run: find ~/.m2/repository -type d -name '*-SNAPSHOT' -print -exec rm -r {} +
Binary file removed .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2013-2023 the original author or authors.
# Copyright 2013-2026 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -14,4 +14,4 @@

wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.14/apache-maven-3.9.14-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.10.0/apache-maven-3.10.0-bin.zip
Loading