From e2ebe049c1ce7d3a0015c38b2a94818a0d663be0 Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 19 Oct 2023 16:09:16 +0200 Subject: [PATCH] ci: update CI for github env --- .github/workflows/version_bump.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version_bump.yml b/.github/workflows/version_bump.yml index 47fd2ec3e7..924813ef77 100644 --- a/.github/workflows/version_bump.yml +++ b/.github/workflows/version_bump.yml @@ -26,13 +26,13 @@ jobs: token: ${{ secrets.VERSION_BUMP_COMMIT_PAT }} - name: Get the SHA of the last release commit id: get-sha - run: echo "::set-output name=sha::$(git log --grep='chore(release):' -n 1 --pretty=format:"%H")" + run: echo "sha=$(git log --grep='chore(release):' -n 1 --pretty=format:"%H")" >> $GITHUB_ENV - name: Wait for release workflow to complete uses: fountainhead/action-wait-for-check@v1.0.0 - id: wait-for-release + id: wait-for-releasegit with: token: ${{ secrets.GITHUB_TOKEN }} - ref: ${{ steps.get-sha.outputs.sha }} + ref: ${{ env.sha }} checkName: release timeoutSeconds: 3600 # 1 hour