diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1fe08e0fce9..d295301a634 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,6 +8,8 @@ on: pull_request: branches: - opendingux + schedule: + - cron: '* * 1 * *' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -16,7 +18,7 @@ concurrency: jobs: build: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest container: image: ghcr.io/opendingux/retro-toolchain/buildroot @@ -55,17 +57,17 @@ jobs: TOP_MAKE_COMMAND: utils/brmake BR2_JLEVEL: 0 FORCE_UNSAFE_CONFIGURE: 1 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: toolchain-${{ matrix.target }} path: | output/${{ matrix.target }}/images/*.tar* - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: update-${{ matrix.target }} path: | output/${{ matrix.target }}/images/*.opk - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: ${{ matrix.target }}-log @@ -85,19 +87,19 @@ jobs: TOP_MAKE_COMMAND: utils/brmake BR2_JLEVEL: 0 FORCE_UNSAFE_CONFIGURE: 1 - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.target == 'rs90' }} with: name: odboot-client-linux path: | output/installer/images/odboot-client - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.target == 'rs90' }} with: name: vmlinuz path: | output/installer/images/vmlinuz.bin - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ matrix.target == 'rs90' && always() }} with: name: ${{ matrix.target }}-installer-log @@ -106,7 +108,7 @@ jobs: build-win: name: Build odbootd (Windows) - runs-on: windows-2019 + runs-on: windows-latest needs: build defaults: run: @@ -146,7 +148,7 @@ jobs: with: repository: 'OpenDingux/odbootd' path: 'odbootd' - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: vmlinuz path: odbootd @@ -155,7 +157,7 @@ jobs: PKG_CONFIG_PATH=/usr/lib/pkgconfig cmake -DWITH_ODBOOTD=OFF -DSTATIC_EXE=ON -DEMBEDDED_INSTALLER=vmlinuz.bin -Bbuild -G "MSYS Makefiles" cmake --build build --config Release working-directory: odbootd - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: odboot-client-windows path: |