From e4f69cd72868d60c40f2861a46c085ee6014f004 Mon Sep 17 00:00:00 2001 From: aristocratos Date: Mon, 24 Jun 2024 17:53:14 +0200 Subject: [PATCH] Updated soon to be deprecated actions to latest versions --- .github/workflows/continuous-build-linux.yml | 4 ++-- .github/workflows/continuous-build-macos.yml | 8 ++++---- .github/workflows/continuous-build-openbsd.yml | 2 +- .github/workflows/test-snap-can-build.yml | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/continuous-build-linux.yml b/.github/workflows/continuous-build-linux.yml index 39de640b9..712e8c5b6 100644 --- a/.github/workflows/continuous-build-linux.yml +++ b/.github/workflows/continuous-build-linux.yml @@ -95,7 +95,7 @@ jobs: run: git config --global --add safe.directory /__w/btop/btop - name: Checkout source - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: recursive @@ -121,7 +121,7 @@ jobs: cp bin/btop .artifacts/$FILENAME - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: btop-${{ matrix.toolchain }} path: '.artifacts/**' diff --git a/.github/workflows/continuous-build-macos.yml b/.github/workflows/continuous-build-macos.yml index 2ea27ce3a..6245e7e95 100644 --- a/.github/workflows/continuous-build-macos.yml +++ b/.github/workflows/continuous-build-macos.yml @@ -35,7 +35,7 @@ jobs: with: xcode-version: latest-stable - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -46,7 +46,7 @@ jobs: mv bin/btop bin/btop-x86_64-Monterey-$GIT_HASH ls -alh bin - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: btop-x86_64-macos12-Monterey path: 'bin/*' @@ -58,7 +58,7 @@ jobs: with: xcode-version: latest-stable - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive @@ -69,7 +69,7 @@ jobs: mv bin/btop bin/btop-x86_64-Ventura-$GIT_HASH ls -alh bin - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: btop-x86_64-macos13-Ventura path: 'bin/*' diff --git a/.github/workflows/continuous-build-openbsd.yml b/.github/workflows/continuous-build-openbsd.yml index 6925ebbbf..84d631f25 100644 --- a/.github/workflows/continuous-build-openbsd.yml +++ b/.github/workflows/continuous-build-openbsd.yml @@ -50,7 +50,7 @@ jobs: mv bin/btop bin/btop-GCC11-"$GIT_HASH" ls -alh bin - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: btop-x86_64-openbsd-7.4 path: 'bin/*' diff --git a/.github/workflows/test-snap-can-build.yml b/.github/workflows/test-snap-can-build.yml index 6df8e4708..a59b58d09 100644 --- a/.github/workflows/test-snap-can-build.yml +++ b/.github/workflows/test-snap-can-build.yml @@ -4,7 +4,7 @@ on: push: branches: [ main ] tags-ignore: - - '*.*' + - '*.*' paths: - 'src/**' - '!src/osx/**' @@ -21,16 +21,16 @@ on: - 'include/**' - 'Makefile' - '.github/workflows/test-snap-can-build.yml' - + jobs: build: runs-on: ubuntu-latest strategy: matrix: node-version: [20.x] - + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: snapcore/action-build@v1 id: build