Update openwrt-ci.yml
This commit is contained in:
30
.github/workflows/openwrt-ci.yml
vendored
30
.github/workflows/openwrt-ci.yml
vendored
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user