mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
ci:check cronet updates firstly
This commit is contained in:
30
.github/workflows/release.yml
vendored
30
.github/workflows/release.yml
vendored
@@ -32,6 +32,21 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ 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
|
||||
run: |
|
||||
echo "给apk增加签名"
|
||||
@@ -48,21 +63,6 @@ jobs:
|
||||
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
|
||||
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
|
||||
run: |
|
||||
echo "开始进行release构建"
|
||||
|
||||
Reference in New Issue
Block a user