Upload packages and workflow

This commit is contained in:
itdoginfo
2024-10-10 17:10:30 +03:00
parent 9efc121f66
commit 18e5b3b2ce
11 changed files with 813 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Test Build
on:
push:
branches:
- main
jobs:
build:
name: ${{ matrix.arch }} build
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- x86_64
- mips_24kc
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build
uses: openwrt/gh-action-sdk@main
env:
ARCH: ${{ matrix.arch }}
- name: Store packages
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.arch}}-packages
path: bin/packages/${{ matrix.arch }}/packages/*.ipk