Skip to content

Commit

Permalink
COMP: Update actions to avoid node deprecation warnings (#1686)
Browse files Browse the repository at this point in the history
* COMP: Update actions to avoid node deprecation warnings
  • Loading branch information
cookpa committed Feb 29, 2024
1 parent ffa9d89 commit 00be620
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-docker-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
generators: "Ninja"
}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Get ANTs version
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-win-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 00be620

Please sign in to comment.