ci: re-add openwrt-21.02 sdk
This commit is contained in:
parent
d2ff7f4526
commit
72c5c0cce0
15
.github/workflows/release-build.yml
vendored
15
.github/workflows/release-build.yml
vendored
@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build ${{ matrix.arch }}
|
name: Build ${{ matrix.arch }}-${{ matrix.sdk }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@ -40,6 +40,9 @@ jobs:
|
|||||||
- mipsel_74kc
|
- mipsel_74kc
|
||||||
- mipsel_mips32
|
- mipsel_mips32
|
||||||
- x86_64
|
- x86_64
|
||||||
|
sdk:
|
||||||
|
- openwrt-21.02
|
||||||
|
- openwrt-22.03
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -49,7 +52,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
uses: sbwml/openwrt-gh-action-sdk@go1.20
|
uses: sbwml/openwrt-gh-action-sdk@go1.20
|
||||||
env:
|
env:
|
||||||
ARCH: ${{ matrix.arch }}-openwrt-22.03
|
ARCH: ${{ matrix.arch }}-${{ matrix.sdk }}
|
||||||
FEEDNAME: packages_ci
|
FEEDNAME: packages_ci
|
||||||
PACKAGES: luci-app-alist
|
PACKAGES: luci-app-alist
|
||||||
NO_REFRESH_CHECK: true
|
NO_REFRESH_CHECK: true
|
||||||
@ -57,9 +60,13 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}
|
name: ${{ matrix.arch }}-${{ matrix.sdk }}
|
||||||
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
|
path: bin/packages/${{ matrix.arch }}/packages_ci/*.ipk
|
||||||
|
|
||||||
|
- name: Create compress files
|
||||||
|
run: |
|
||||||
|
tar -zcvf ${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz -C bin/packages/${{ matrix.arch }}/ packages_ci
|
||||||
|
|
||||||
- name: Upload packages
|
- name: Upload packages
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
@ -67,4 +74,4 @@ jobs:
|
|||||||
token: ${{ secrets.workflow_token }}
|
token: ${{ secrets.workflow_token }}
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
replacesArtifacts: true
|
replacesArtifacts: true
|
||||||
artifacts: "bin/packages/${{ matrix.arch }}/packages_ci/*.ipk"
|
artifacts: "${{ matrix.sdk }}-${{ matrix.arch }}.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user