|
@@ -32,6 +32,21 @@ jobs:
|
|
|
restore-keys: |
|
|
restore-keys: |
|
|
|
${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-
|
|
${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-
|
|
|
|
|
|
|
|
|
|
+ - name: Set github-action[bot] info
|
|
|
|
|
+ run: |
|
|
|
|
|
+ git config --global user.name "github-actions[bot]"
|
|
|
|
|
+ git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
|
|
|
+
|
|
|
|
|
+ - name: Download Lastest Cronet jar
|
|
|
|
|
+ run: |
|
|
|
|
|
+ echo "获取cronet最新版本"
|
|
|
|
|
+ source $GITHUB_WORKSPACE/.github/scripts/cronet.sh
|
|
|
|
|
+ git add *cronet*jar
|
|
|
|
|
+ git add *cronet.json
|
|
|
|
|
+ git add gradle.properties
|
|
|
|
|
+ git commit -m "bump cronet version: $lastest_cronet_version"
|
|
|
|
|
+ git push origin master
|
|
|
|
|
+
|
|
|
- name: Release Apk Sign
|
|
- name: Release Apk Sign
|
|
|
run: |
|
|
run: |
|
|
|
echo "给apk增加签名"
|
|
echo "给apk增加签名"
|
|
@@ -48,21 +63,6 @@ jobs:
|
|
|
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
|
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
|
|
sed "/def version/c def version = \"$VERSION\"" $GITHUB_WORKSPACE/app/build.gradle -i
|
|
sed "/def version/c def version = \"$VERSION\"" $GITHUB_WORKSPACE/app/build.gradle -i
|
|
|
|
|
|
|
|
- - name: Set github-action[bot] info
|
|
|
|
|
- run: |
|
|
|
|
|
- git config --global user.name "github-actions[bot]"
|
|
|
|
|
- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
|
|
|
-
|
|
|
|
|
- - name: Download Lastest Cronet jar
|
|
|
|
|
- run: |
|
|
|
|
|
- echo "获取cronet最新版本"
|
|
|
|
|
- source $GITHUB_WORKSPACE/.github/scripts/cronet.sh
|
|
|
|
|
- git add *cronet*jar
|
|
|
|
|
- git add *cronet.json
|
|
|
|
|
- git add gradle.properties
|
|
|
|
|
- git commit -m "bump cronet version: $lastest_cronet_version"
|
|
|
|
|
- git push origin master
|
|
|
|
|
-
|
|
|
|
|
- name: Build With Gradle
|
|
- name: Build With Gradle
|
|
|
run: |
|
|
run: |
|
|
|
echo "开始进行release构建"
|
|
echo "开始进行release构建"
|