Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
livekitAndroidXuningTest
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David Liu
2021-05-01 21:19:13 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b0d5a5318fd583d48de5d443acfa012f5e344bb0
b0d5a531
1 parent
51d8e420
publish only snapshots for ci
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
9 行增加
和
1 行删除
.github/workflows/android.yml
.github/workflows/android.yml
查看文件 @
b0d5a53
...
...
@@ -17,11 +17,13 @@ jobs:
uses
:
actions/checkout@v2.3.4
with
:
path
:
./client-sdk-android
-
name
:
checkout protocol
uses
:
actions/checkout@v2.3.4
with
:
repository
:
livekit/protocol
path
:
./protocol
-
name
:
set up JDK 12
uses
:
actions/setup-java@v2
with
:
...
...
@@ -33,7 +35,12 @@ jobs:
-
name
:
Build with Gradle
run
:
./gradlew livekit-android-sdk:assembleRelease
-
name
:
get version name
run
:
echo "::set-output name=version_name::$(cat gradle.properties | grep VERSION_NAME | cut -d "=" -f2)"
id
:
version_name
-
name
:
Create gpg key and import into gradle properties
if
:
contains("SNAPSHOT",steps.version_name.outputs.version_name)
run
:
|
echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc
gpg --quiet --output $GITHUB_WORKSPACE/release.gpg --dearmor ./release.asc
...
...
@@ -50,4 +57,5 @@ jobs:
NEXUS_PASSWORD
:
${{ secrets.NEXUS_PASSWORD }}
-
name
:
Publish snapshot
run
:
./gradlew publish closeAndReleaseRepository
\ No newline at end of file
if
:
contains("SNAPSHOT",steps.version_name.outputs.version_name)
run
:
./gradlew publish
\ No newline at end of file
...
...
请
注册
或
登录
后发表评论