Skip to content

Commit

Permalink
从Release Workflow中移除snapshot的maven镜像
Browse files Browse the repository at this point in the history
Change-Id: Ib645721fff20930e6ef4af13cfa98866d1355e37
  • Loading branch information
archurtan committed Oct 20, 2021
1 parent fe22e4a commit c5dbe18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tencent_official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
sed -i 's#def versionAppName.*#def versionAppName = \"'$rt'\"#g' config.gradle
sed -i 's#def sdkVersion.*#def sdkVersion = \"'$rt'\"#g' config.gradle
sed -i "s#xxx#$rb+git.$rc#g" config.gradle
sed -i '/snapshots/, +d' build.gradle
- name: Common-->Update Values of Signing
run: |
Expand Down
4 changes: 1 addition & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ allprojects {
url "https://maven.aliyun.com/repository/public"
}
// SNAPSHOT
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
//左滑删除
maven {
url "https://jitpack.io"
Expand Down

0 comments on commit c5dbe18

Please sign in to comment.