ci: account for APK as default on main branch
authorDaniel Nilsson <dannil+github@protonmail.com>
Fri, 15 Nov 2024 21:38:41 +0000 (22:38 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 17 Nov 2024 07:45:19 +0000 (09:45 +0200)
With APK defaulted on openwrt:main, we should include packages with the
.apk file extension as artifacts. Also default the logging to V=s as
otherwise the APK version check won't be printed to stdout.

Signed-off-by: Daniel Nilsson <dannil+github@protonmail.com>
.github/workflows/build.yml

index 982a3447b4ec4fd3c4ec0cc566b4b4ac0bf7fb97..68ca564baeae42b341923169d5b33770b9f16b02 100644 (file)
@@ -54,15 +54,18 @@ jobs:
         env:
           ARCH: ${{ matrix.arch }}-${{ env.BRANCH }}
           FEEDNAME: packages_ci
+          V: s
 
       - name: Move created packages to project dir
-        run: cp bin/packages/${{ matrix.arch }}/packages_ci/*.ipk . || true
+        run: cp bin/packages/${{ matrix.arch }}/packages_ci/* . || true
 
       - name: Store packages
         uses: actions/upload-artifact@v4
         with:
           name: ${{ matrix.arch}}-packages
-          path: "*.ipk"
+          path: |
+            *.ipk
+            *.apk
 
       - name: Store logs
         uses: actions/upload-artifact@v4