mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
name: Update Cronet
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.actor == 'gedoor' }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Check Cronet Updates
|
|
run: |
|
|
echo "获取cronet最新版本"
|
|
source .github/scripts/cronet.sh
|
|
echo "PR_TITLE=Bump cronet from $current_cronet_version to $lastest_cronet_version " >> $GITHUB_ENV
|
|
echo "PR_BODY=Changes in the [Git log](https://chromium.googlesource.com/chromium/src/+log/$current_cronet_version..$lastest_cronet_version)" >> $GITHUB_ENV
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v4
|
|
continue-on-error: true
|
|
with:
|
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
|
title: ${{ env.PR_TITLE }}
|
|
commit-message: |
|
|
${{ env.PR_TITLE }}
|
|
- ${{ env.PR_BODY }}
|
|
body: ${{ env.PR_BODY }}
|
|
branch: cronet
|
|
delete-branch: true
|
|
add-paths: |
|
|
*cronet*jar
|
|
*cronet.json
|
|
*updateLog.md
|
|
gradle.properties
|
|
|