Update openwrt-ci.yml

This commit is contained in:
骷髅头
2025-02-05 14:22:15 +08:00
committed by GitHub
parent 3de3fb2bdb
commit dfb5b8d66f

View File

@@ -5,23 +5,12 @@
# #
# Copyright (C) 2020 KFERMercer # Copyright (C) 2020 KFERMercer
# #
#
# <https://github.com/KFERMercer/OpenWrt-CI>
#
# Copyright (C) 2019 P3TERX
#
# Copyright (C) 2020 KFERMercer
#
name: OpenWrt-CI name: OpenWrt-CI
on: on:
schedule: schedule:
- cron: 0 20 * * * - cron: 0 20 * * *
release:
types: [published]
repository_dispatch:
workflow_dispatch:
permissions: permissions:
contents: read contents: read
@@ -29,23 +18,12 @@ jobs:
build_openwrt: build_openwrt:
permissions: name: Build OpenWrt Firmware
contents: write # for release creation
name: Build OpenWrt firmware runs-on: ubuntu-22.04
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id || ! github.event.sender.id
steps: steps:
- name: Space cleanup and Initialization environment
- name: Checkout
uses: actions/checkout@v3
with:
ref: stable
- name: Space cleanup
env: env:
DEBIAN_FRONTEND: noninteractive DEBIAN_FRONTEND: noninteractive
run: | run: |