From 0af433f9007e7a113b5c21b0b59ace6b812532c0 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 8 Oct 2023 12:18:27 +0200 Subject: [PATCH] ci: build for multiple versions --- .github/workflows/build.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 18bec0e..0bce6ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,10 @@ jobs: - mips_24kc - mipsel_24kc - x86_64 + version: + - openwrt-22.03 + - openwrt-23.05 + - main steps: - uses: actions/checkout@v2 @@ -21,7 +25,7 @@ jobs: - name: Build uses: openwrt/gh-action-sdk@main env: - ARCH: ${{ matrix.arch }} + ARCH: ${{ matrix.arch }}-${{ matrix.version }} KEY_BUILD: | untrusted comment: private key 7580714ee0d0b178 RWRCSwAAAABqaz5Tmbv63Wvk42y8YA1HjJ8fPtSeBx11gHFO4NCxeECdO33e8TvyG85V8TI2e3+gG+jFr4Nft63N6gMGEmR/rqTiIXIxplpNm1AcdEF3SsT+mfwwud+YrhLkaeBpu3c= @@ -30,5 +34,5 @@ jobs: - name: Store packages uses: actions/upload-artifact@v2 with: - name: ${{ matrix.arch}}-packages + name: ${{ matrix.version }}-${{ matrix.arch}}-packages path: bin/packages/${{ matrix.arch }}/packages/*.ipk