From 30caa369687f4980a2622f55500396d84fc5700c Mon Sep 17 00:00:00 2001 From: Remy Suen Date: Sun, 10 Sep 2023 06:20:14 -0400 Subject: [PATCH] Update versions of GitHub Actions Signed-off-by: Remy Suen --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c42ef49..b6574c2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: status: "LTS" - node-version: 20.x steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: @@ -26,14 +26,14 @@ jobs: - name: Test run: npm run nyc-ci - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 if: ${{ matrix.status == 'LTS' && github.ref == 'refs/heads/master' }} with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build and push to DockerHub id: docker_build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 if: ${{ matrix.status == 'LTS' && github.ref == 'refs/heads/master' }} with: context: .