54 lines
1.3 KiB
YAML
54 lines
1.3 KiB
YAML
name: Update Cronet
|
|
|
|
on:
|
|
schedule:
|
|
# 周一北京时间9点
|
|
- cron: 0 1 * * 1
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
if: ${{ github.repository == 'gedoor/legado' }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Check Cronet Updates
|
|
run: source .github/scripts/cronet.sh
|
|
|
|
- name: Set up JDK 17
|
|
if: ${{ env.cronet == 'ok' }}
|
|
|