From 985e11ea674244502789d877badb3084d297b9e5 Mon Sep 17 00:00:00 2001 From: a-gave Date: Sat, 16 Mar 2024 23:27:48 +0100 Subject: [PATCH] ci: multi-arch-build: enable the build of package index + various fixes update gh-action-sdk from v5 to v7 prevent that entire workflow fail if a single arch fails allow to run the workflow manually disable unnecessary options: default_feed, patches refresh_check, '*.init' files formatting --- .github/workflows/multi-arch-build.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/multi-arch-build.yml b/.github/workflows/multi-arch-build.yml index 0fb09d343..1f6c71b0e 100644 --- a/.github/workflows/multi-arch-build.yml +++ b/.github/workflows/multi-arch-build.yml @@ -10,12 +10,16 @@ on: - '!v2020*' paths: - 'packages/shared-state-async/**' - + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: build: name: build ${{ matrix.arch }} ${{ github.ref }} runs-on: ubuntu-latest strategy: + fail-fast: false matrix: arch: - aarch64_cortex-a53 @@ -51,16 +55,20 @@ jobs: - x86_64 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build packages ${{ matrix.arch }} - uses: openwrt/gh-action-sdk@v5 + uses: openwrt/gh-action-sdk@v7 env: ARCH: "${{ matrix.arch }}" FEEDNAME: "libremesh" IGNORE_ERRORS: "n m y" KEY_BUILD: "${{ secrets.KEY_BUILD }}" PACKAGES: "shared-state-bat_hosts" + INDEX: 1 + NO_DEFAULT_FEEDS: 1 + NO_REFRESH_CHECK: 1 + NO_SHFMT_CHECK: 1 - name: Set package destination run: |