From 2682538e7d910fd023e01dc6ce50057faa1d2558 Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Sun, 10 Mar 2024 22:33:02 +0100 Subject: [PATCH] [actions] update to latest action using node20 instead of deprecated node16 https://github.com/actions/checkout/releases https://github.com/korthout/backport-action/releases https://github.com/softprops/action-gh-release/releases (cherry picked from commit cc3a5d19b8897d9a6e8c4f7307571c62a5bdcd36) --- .github/workflows/backport.yml | 4 ++-- .github/workflows/firmware.yml | 10 +++++----- .github/workflows/shellcheck.yml | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 94fb4558..17cba8b4 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -14,6 +14,6 @@ jobs: # Don't run on closed unmerged pull requests if: github.event.pull_request.merged steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create backport pull requests - uses: korthout/backport-action@v1 + uses: korthout/backport-action@v2 diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml index 07cf819f..b28c0102 100644 --- a/.github/workflows/firmware.yml +++ b/.github/workflows/firmware.yml @@ -22,7 +22,7 @@ jobs: build_target_json: ${{ steps.set_target.outputs.build_target }} steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v4 - name: Set target matrix id: set_target shell: bash @@ -44,7 +44,7 @@ jobs: sudo rm -rf /usr/local/lib/android sudo rm -rf /opt/ghc - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install build dependencies @@ -57,7 +57,7 @@ jobs: make BROKEN=1 GLUON_TARGETS=${{ matrix.target }} V=s echo "status=success" >> $GITHUB_OUTPUT - name: Upload firmware ${{ matrix.target }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: steps.compile.outputs.status == 'success' with: name: ${{ matrix.target }}_output @@ -70,7 +70,7 @@ jobs: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - name: Download all artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Display structure of artifacts run: ls -R - name: Create tar.gz files @@ -80,7 +80,7 @@ jobs: tar zcvf "${output}.tar.gz" "${output}" done - name: Create Release & Upload Release Assets - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: # Note: If there is no release name specified, releases created in # the GitHub UI do not trigger a failure and are modified instead. diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 6ce5ac46..2085be0d 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -18,7 +18,7 @@ jobs: name: runner / shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: shellcheck # Make sure the action is pinned to a commit, as all reviewdog repos # have hundreds of contributors with write access (breaks easy/often)