Skip to content

add workflow

add workflow #1

Workflow file for this run

name: Build Openwrt
on:
push:
branches: ["master"]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: MasterworksIO/action-local-cache@2
name: "Load Toolchain Cache"
with:
path: './staging_dir'
key: 'staging_toolchain'
- uses: MasterworksIO/action-local-cache@2
name: "Load Feeds Cache"
with:
path: './feeds'
key: 'feeds'
- name: 'Update Feeds'
run: ./scripts/feeds update -a && ./scripts/feeds install -a
- name: "Copy config"
run: cp auto_build/ax3600.config .config
- name: "Build"
run: make -j8