From 779b6dc5bc70e9690217eb1aea498bea9fd8122a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20B=C4=83l=C4=83nic=C4=83?= Date: Sat, 16 Mar 2024 21:44:55 +0200 Subject: [PATCH] workflows: Update actions --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 12 ++---------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 148e080dd..43f6c29c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: CONFIGURATION: ${{ fromJSON(format('[{0}]', inputs.build-configs || '"Debug"')) }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -96,7 +96,7 @@ jobs: mv RK3588_NOR_FLASH.img ${{matrix.PLATFORM}}_UEFI_${{matrix.CONFIGURATION}}_${{steps.get_version_tag.outputs.version}}.img - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{matrix.PLATFORM}} UEFI ${{matrix.CONFIGURATION}} image path: ./*.img diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f86133142..a37dbc411 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,20 +17,12 @@ jobs: contents: write steps: - name: Download all workflow run artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: true prerelease: false files: "*/*Release*.img" fail_on_unmatched_files: true - generate_release_notes: true - append_body: true - body: | - ## Usage - Flash the board-specific image to SPINOR with rkdevtool / rkdeveloptool or to an EMMC / SD card. - If your board is not yet supported, using a similar image may work but beware of potential issues. - - Debug builds can be found in the artifacts of the workflow run for this release.