diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index 56039ddcf..c7cf65200 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout current branch if: github.event.inputs.verify-first == 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -57,7 +57,7 @@ jobs: steps: - name: Checkout current branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -71,7 +71,7 @@ jobs: - name: Create GitHub Release id: create_release - uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14 + uses: softprops/action-gh-release@v2 with: tag_name: v${{ steps.get-version.outputs.vinyldns_version }} generate_release_notes: true @@ -90,13 +90,13 @@ jobs: run: echo "::set-output name=vinyldns_version::$(curl -s https://api.github.com/repos/vinyldns/vinyldns/releases | jq -rc '.[0].tag_name')" - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ steps.get-version.outputs.vinyldns_version }} fetch-depth: 0 - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} @@ -125,13 +125,13 @@ jobs: run: echo "::set-output name=vinyldns_version::$(curl -s https://api.github.com/repos/vinyldns/vinyldns/releases | jq -rc '.[0].tag_name')" - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ steps.get-version.outputs.vinyldns_version }} fetch-depth: 0 - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1ce26c22..4a4113686 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: steps: - name: Checkout current branch if: github.event.inputs.verify-first == 'true' - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -53,7 +53,7 @@ jobs: steps: - name: Checkout current branch - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -67,7 +67,7 @@ jobs: - name: Create GitHub Release id: create_release - uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5 # v0.1.14 + uses: softprops/action-gh-release@v2 with: tag_name: v${{ steps.get-version.outputs.vinyldns_version }} generate_release_notes: true @@ -85,13 +85,13 @@ jobs: run: echo "::set-output name=vinyldns_version::$(curl -s https://api.github.com/repos/vinyldns/vinyldns/releases | jq -rc '.[0].tag_name')" - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ steps.get-version.outputs.vinyldns_version }} fetch-depth: 0 - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }} @@ -120,13 +120,13 @@ jobs: run: echo "::set-output name=vinyldns_version::$(curl -s https://api.github.com/repos/vinyldns/vinyldns/releases | jq -rc '.[0].tag_name')" - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ steps.get-version.outputs.vinyldns_version }} fetch-depth: 0 - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_TOKEN }}