ci: upgrade openwrt/gh-action-sdk workflow to v7
authorDaniel Nilsson <[email protected]>
Fri, 15 Nov 2024 19:20:55 +0000 (20:20 +0100)
committerHannu Nyman <[email protected]>
Sun, 17 Nov 2024 07:45:19 +0000 (09:45 +0200)
With the change of the Docker container not including pre-built
binaries [1], the previous version of the workflow fails as it still
expects those to be present in the upstream container while the new
versions runs a file called setup.sh if present to configure the
container.

By upgrading openwrt/gh-action-sdk workflow to v7, we make sure that
setup.sh is run and configures the container [2].

[1] https://github.com/openwrt/docker/commit/9b55784b18f8d2c684aac4dd21a224320bb9b9ce
[2] https://github.com/openwrt/gh-action-sdk/commit/0c00b28c11bed5c7697e807d4cb8ef176ca688ef

Signed-off-by: Daniel Nilsson <[email protected]>
.github/workflows/build.yml

index fd5e2cfa40837bb1c47e2088b40888ddef7c94e1..982a3447b4ec4fd3c4ec0cc566b4b4ac0bf7fb97 100644 (file)
@@ -50,7 +50,7 @@ jobs:
           echo "PACKAGES=$PACKAGES" >> $GITHUB_ENV
 
       - name: Build
-        uses: openwrt/gh-action-sdk@v5
+        uses: openwrt/gh-action-sdk@v7
         env:
           ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
           FEEDNAME: packages_ci