From 00be62061d288757ec02caf890c95ff8ef9b316d Mon Sep 17 00:00:00 2001 From: Philip Cook Date: Thu, 29 Feb 2024 13:14:17 -0500 Subject: [PATCH] COMP: Update actions to avoid node deprecation warnings (#1686) * COMP: Update actions to avoid node deprecation warnings --- .github/workflows/ci-docker.yml | 10 +++++----- .github/workflows/release-binaries.yml | 4 ++-- .github/workflows/release-docker-binaries.yml | 4 ++-- .github/workflows/release-win-binaries.yml | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-docker.yml b/.github/workflows/ci-docker.yml index ae7316341..9daedca05 100644 --- a/.github/workflows/ci-docker.yml +++ b/.github/workflows/ci-docker.yml @@ -20,23 +20,23 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Docker meta id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: antsx/ants - name: Login to DockerHub if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and load (PR) or push (commit/tag) - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: context: . push: ${{ github.event_name != 'pull_request' }} @@ -51,7 +51,7 @@ jobs: - name: Upload PR Docker image as artifact if: github.event_name == 'pull_request' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ants-docker-image path: ants_image.tar diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index aade3eed4..8ab383acf 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -57,7 +57,7 @@ jobs: } steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} - name: Get ANTs version @@ -128,7 +128,7 @@ jobs: - name: Upload release asset # Previously was using actions/upload-release-asset@v1 , but this had some # errors with large files - uses: ncipollo/release-action@v1.11.1 + uses: ncipollo/release-action@v1.14.0 with: allowUpdates: true omitBodyDuringUpdate: true diff --git a/.github/workflows/release-docker-binaries.yml b/.github/workflows/release-docker-binaries.yml index bc1b5f861..0d11c88b4 100644 --- a/.github/workflows/release-docker-binaries.yml +++ b/.github/workflows/release-docker-binaries.yml @@ -41,7 +41,7 @@ jobs: generators: "Ninja" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} - name: Get ANTs version @@ -126,7 +126,7 @@ jobs: cd /opt/install zip -r ${ARTIFACT} . - name: Upload release asset - uses: ncipollo/release-action@v1.12.0 + uses: ncipollo/release-action@v1.14.0 with: allowUpdates: true omitBodyDuringUpdate: true diff --git a/.github/workflows/release-win-binaries.yml b/.github/workflows/release-win-binaries.yml index 7acec1bfa..0106aa72d 100644 --- a/.github/workflows/release-win-binaries.yml +++ b/.github/workflows/release-win-binaries.yml @@ -21,7 +21,7 @@ jobs: build_type: "Release" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.ref }} # Set up vs studio. Use default windows shell (powershell) not bash, @@ -76,7 +76,7 @@ jobs: - name: Upload release asset # Previously was using actions/upload-release-asset@v1 , but this had some # errors with large files - uses: ncipollo/release-action@v1.11.1 + uses: ncipollo/release-action@v1.14.0 with: allowUpdates: true omitBodyDuringUpdate: true