From 31d4e940c6998a94f217f09846589e0b393d6a77 Mon Sep 17 00:00:00 2001 From: Ningyuan Li Date: Mon, 26 Feb 2024 22:36:13 +0900 Subject: [PATCH] updated workflow plugins --- .github/actions/build-webos/action.yml | 2 +- .github/actions/steamlink-sdk/action.yml | 4 ++-- .github/workflows/build-test.yml | 22 +++++++++++++--------- .github/workflows/community-notify.yml | 2 +- .github/workflows/release.yml | 10 +++++----- 5 files changed, 22 insertions(+), 18 deletions(-) diff --git a/.github/actions/build-webos/action.yml b/.github/actions/build-webos/action.yml index 504de7334..e9834d8b3 100644 --- a/.github/actions/build-webos/action.yml +++ b/.github/actions/build-webos/action.yml @@ -14,7 +14,7 @@ runs: run: sudo apt-get -y -qq install cmake - name: Download webOS NDK - uses: robinraju/release-downloader@v1.8 + uses: robinraju/release-downloader@v1.9 with: repository: "openlgtv/buildroot-nc4" latest: true diff --git a/.github/actions/steamlink-sdk/action.yml b/.github/actions/steamlink-sdk/action.yml index f7a7c52ba..b72aa8912 100644 --- a/.github/actions/steamlink-sdk/action.yml +++ b/.github/actions/steamlink-sdk/action.yml @@ -14,7 +14,7 @@ runs: steps: - name: Cache Steam Link SDK id: cache-sdk - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: ${{ runner.os }}-steamlink-sdk-${{ inputs.ref }} path: | @@ -25,7 +25,7 @@ runs: - name: Get Steam Link SDK if: ${{ steps.cache-sdk.outputs.cache-hit != 'true' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: ValveSoftware/steamlink-sdk ref: ${{ inputs.ref }} diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 8f46b41af..3004a9130 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 @@ -58,13 +58,13 @@ jobs: run: echo SHORT_SHA="${GITHUB_SHA:0:8}" >> $GITHUB_ENV - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - name: Download ares-cli-rs - uses: robinraju/release-downloader@v1.8 + uses: robinraju/release-downloader@v1.9 with: repository: "webosbrew/ares-cli-rs" latest: true @@ -72,7 +72,7 @@ jobs: out-file-path: "temp" - name: Download Homebrew Toolbox - uses: robinraju/release-downloader@v1.8 + uses: robinraju/release-downloader@v1.9 with: repository: "webosbrew/dev-toolbox-cli" latest: true @@ -95,7 +95,7 @@ jobs: working-directory: dist run: for file in *.ipk ; do mv $file ${file//_arm/-${SHORT_SHA}_arm} ; done - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: webos-snapshot-${{ env.SHORT_SHA }} path: dist/*.ipk @@ -113,7 +113,7 @@ jobs: run: echo SHORT_SHA="${GITHUB_SHA:0:8}" >> $GITHUB_ENV - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 @@ -150,7 +150,7 @@ jobs: cmake --build . --config $BUILD_TYPE cpack - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: raspi-snapshot-${{ env.SHORT_SHA }} path: build/*.deb @@ -165,11 +165,15 @@ jobs: run: echo SHORT_SHA="${GITHUB_SHA:0:8}" >> $GITHUB_ENV - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 + - name: Update Packages + shell: bash + run: sudo apt-get -yq update + - name: Install Steam Link SDK uses: ./.github/actions/steamlink-sdk with: @@ -207,7 +211,7 @@ jobs: - name: Copy Install Manual run: cp docs/INSTALL.steamlink.md dist/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: steamlink-snapshot-${{ env.SHORT_SHA }} path: | diff --git a/.github/workflows/community-notify.yml b/.github/workflows/community-notify.yml index 0cfb2001c..9b01d442d 100644 --- a/.github/workflows/community-notify.yml +++ b/.github/workflows/community-notify.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Manipulate Event - uses: actions/github-script@v6 + uses: actions/github-script@v7 id: set-result with: script: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index db4ef9463..74361a034 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,12 +15,12 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive - name: Download ares-cli-rs - uses: robinraju/release-downloader@v1.8 + uses: robinraju/release-downloader@v1.9 with: repository: "webosbrew/ares-cli-rs" latest: true @@ -28,7 +28,7 @@ jobs: out-file-path: "temp" - name: Download Manifest Generator - uses: robinraju/release-downloader@v1.8 + uses: robinraju/release-downloader@v1.9 with: repository: "webosbrew/dev-toolbox-cli" latest: true @@ -64,7 +64,7 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -121,7 +121,7 @@ jobs: steps: - name: Checkout Source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive