From 7e7da6c0bc2ca02702cbd72e1e382934c52a89e8 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Wed, 3 May 2023 01:07:14 -0400 Subject: [PATCH] Updated github actions dependencies --- .github/workflows/build.yml | 6 +++--- .github/workflows/docker-pr.yml | 2 +- .github/workflows/docker-release.yml | 6 +++--- .github/workflows/docker.yml | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b30d2c3..509e1b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: checkout code uses: actions/checkout@v2 - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: '16' cache: 'npm' @@ -33,7 +33,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: create-json id: create-json - uses: jsdaniell/create-json@1.1.2 + uses: jsdaniell/create-json@1.2.2 with: name: "version.json" json: '{"type": "autobuild", "tag": "N/A", "commit": "${{ steps.vars.outputs.sha_short }}", "date": "${{ steps.date.outputs.date }}"}' @@ -55,7 +55,7 @@ jobs: Copy-Item -Path ./backend/*.js -Destination ./build/youtubedl-material Copy-Item -Path ./backend/*.json -Destination ./build/youtubedl-material - name: upload build artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v3 with: name: youtubedl-material path: build diff --git a/.github/workflows/docker-pr.yml b/.github/workflows/docker-pr.yml index 2fcf807..c4d7c36 100644 --- a/.github/workflows/docker-pr.yml +++ b/.github/workflows/docker-pr.yml @@ -18,7 +18,7 @@ jobs: run: echo "::set-output name=date::$(date +'%Y-%m-%d')" - name: create-json id: create-json - uses: jsdaniell/create-json@1.1.2 + uses: jsdaniell/create-json@1.2.2 with: name: "version.json" json: '{"type": "docker", "tag": "nightly", "commit": "${{ steps.vars.outputs.sha_short }}", "date": "${{ steps.date.outputs.date }}"}' diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index 6ace410..e7272d4 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -27,7 +27,7 @@ jobs: - name: create-json id: create-json - uses: jsdaniell/create-json@1.1.2 + uses: jsdaniell/create-json@1.2.2 with: name: "version.json" json: '{"type": "docker", "tag": "latest", "commit": "${{ steps.vars.outputs.sha_short }}", "date": "${{ steps.date.outputs.date }}"}' @@ -60,10 +60,10 @@ jobs: uses: docker/setup-qemu-action@v1 - name: setup multi-arch docker build - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index cd0373f..296a065 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -34,7 +34,7 @@ jobs: - name: create-json id: create-json - uses: jsdaniell/create-json@1.1.2 + uses: jsdaniell/create-json@1.2.2 with: name: "version.json" json: '{"type": "docker", "tag": "${{secrets.DOCKERHUB_MASTER_TAG}}", "commit": "${{ steps.vars.outputs.sha_short }}", "date": "${{ steps.date.outputs.date }}"}' @@ -44,7 +44,7 @@ jobs: uses: docker/setup-qemu-action@v1 - name: setup multi-arch docker build - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Generate Docker image metadata id: docker-meta @@ -63,7 +63,7 @@ jobs: type=sha,prefix=sha-,format=short - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}