Skip to content

immortalwrt_24.10

immortalwrt_24.10 #5

name: immortalwrt_24.10
on:
workflow_dispatch:
schedule:
- cron: 00 17 * * *
watch:
types: started
env:
CLASH_KERNEL: amd64
UPLOAD_FIRMWARE: true
UPLOAD_BIN_DIR: false
UPLOAD_ARTIFACT: true
UPLOAD_RELEASE: true
TZ: Asia/Shanghai
jobs:
merge:
runs-on: Ubuntu-22.04
if: github.event.repository.owner.id == github.event.sender.id
name: Build ${{ matrix.target }}
strategy:
fail-fast: false
matrix:
target: [Lean]
steps:
- name: Checkout
uses: actions/checkout@main
# 优化 1: 使用更稳定的缓存键
- name: Cache build files
uses: actions/cache@v3
with:
path: |
./openwrt/dl
./openwrt/staging_dir
key: ${{ runner.os }}-openwrt-${{ github.ref_name }}-${{ matrix.target }}
restore-keys: |
${{ runner.os }}-openwrt-${{ github.ref_name }}-
${{ runner.os }}-openwrt-