Skip to content

Commit

Permalink
[DEVOPS-3045] Update deprecated github actions
Browse files Browse the repository at this point in the history
svarnau authored Mar 11, 2024

Verified

This commit was signed with the committer’s verified signature.
jeronimoalbi Jerónimo Albi
2 parents 859e01e + 553217a commit d994c41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-version.yaml
Original file line number Diff line number Diff line change
@@ -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 template/instance.jinja
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'

0 comments on commit d994c41

Please sign in to comment.