From fb90b53f3454a888c95f78080ecc830a799f6f63 Mon Sep 17 00:00:00 2001 From: Steve Varnau Date: Fri, 8 Mar 2024 11:18:02 -0800 Subject: [PATCH] [DEVOPS-3045] Update deprecated github actions --- .github/workflows/update-version.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-version.yaml b/.github/workflows/update-version.yaml index c750fdd..e160b41 100644 --- a/.github/workflows/update-version.yaml +++ b/.github/workflows/update-version.yaml @@ -8,7 +8,7 @@ jobs: if: github.event.client_payload.prerelease == 'false' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: "Configure git" run: | git config user.name 'YugaByte CI' @@ -29,19 +29,19 @@ jobs: exit 1 fi echo "Extracted the version number '${version_number}'." - echo "::set-output name=yb_version::${version_number}" + echo "yb_version=${version_number}" >> "$GITHUB_ENV" - name: "Update the version" id: update-version continue-on-error: true run: | - .ci/update-version.sh '${{steps.extract-version.outputs.yb_version}}' + .ci/update-version.sh "${yb_version}" - name: "Push the changes" if: steps.update-version.outcome == 'success' run: | git status git diff git add variables.tf - git commit -m "Update the version to ${{steps.extract-version.outputs.yb_version}}" + git commit -m "Update the version to ${yb_version}" git push origin ${{ github.ref }} - name: "Status in case of update-version failure" if: steps.update-version.outcome == 'failure'