Skip to content

build openwrt images #74

build openwrt images

build openwrt images #74

Workflow file for this run

# Action to build openwrt images
---
name: build openwrt images
on:
# Allows manual workflow run (must in default branch to work)
workflow_dispatch:
# Allows workflow be reusable
workflow_call:
inputs:
commit_long_sha:
required: true
type: string
# push:
# branches:
# - main
# paths:
# - 'custom-feed/**'
jobs:
build-openwrt-image:
runs-on: ubuntu-24.04
steps:
- name: Checkout repo from main if run from compare-release
uses: actions/checkout@v4
with:
ref: ${{ inputs.commit_long_sha }}
- name: Build image
run: |
./openwrt-builder
- name: Upload openwrt generic image artifacts
uses: actions/upload-artifact@v4
with:
name: openwrt.generic
path: openwrt.generic*
- name: Upload openwrt tplink_archer-c7-v4 image artifacts
uses: actions/upload-artifact@v4
with:
name: openwrt.tplink_archer-c7-v4
path: openwrt.tplink_archer-c7-v4*
- name: Upload openwrt totolink_x5000r image artifacts
uses: actions/upload-artifact@v4
with:
name: openwrt.totolink_x5000r
path: openwrt.totolink_x5000r*
- name: Upload openwrt bananapi_bpi-r3 image artifacts
uses: actions/upload-artifact@v4
with:
name: openwrt.bananapi_bpi-r3
path: openwrt.bananapi_bpi-r3*