Skip to content

Commit c5dbe18

Browse files
author
archurtan
committed
从Release Workflow中移除snapshot的maven镜像
Change-Id: Ib645721fff20930e6ef4af13cfa98866d1355e37
1 parent fe22e4a commit c5dbe18

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/tencent_official.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
sed -i 's#def versionAppName.*#def versionAppName = \"'$rt'\"#g' config.gradle
5151
sed -i 's#def sdkVersion.*#def sdkVersion = \"'$rt'\"#g' config.gradle
5252
sed -i "s#xxx#$rb+git.$rc#g" config.gradle
53+
sed -i '/snapshots/, +d' build.gradle
5354
5455
- name: Common-->Update Values of Signing
5556
run: |

build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ allprojects {
2626
url "https://maven.aliyun.com/repository/public"
2727
}
2828
// SNAPSHOT
29-
maven {
30-
url "https://oss.sonatype.org/content/repositories/snapshots"
31-
}
29+
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
3230
//左滑删除
3331
maven {
3432
url "https://jitpack.io"

0 commit comments

Comments
 (0)