From bf6a5e900d0c1829785bed69a1173cfb2b15202a Mon Sep 17 00:00:00 2001 From: Muhammed Kalkan Date: Tue, 31 May 2022 11:03:07 +0300 Subject: [PATCH] Update check.yml --- .github/workflows/check.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 08cf633..5d61436 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,12 +15,12 @@ jobs: token: ${{ secrets.PAT }} - name: Get the latest version of Lens run: | - git clone https://github.com/lensapp/lens.git - cd lens - git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7 | head -n 1 > version + curl -s https://lens-binaries.s3.amazonaws.com/ide/latest-mac.yml |\ + grep -o "version:.*-latest" | grep -oP "(\d+(:?\.\d+)+)" |\ + head -n 1 > version export LENS_VERSION=$(cat version) echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV - name: Add & Commit - uses: stefanzweifel/git-auto-commit-action@v4 + uses: EndBug/add-and-commit@v9.0.0 with: - commit_message: 'Version updated to: ${{ env.LENS_VERSION }}' + message: 'Version updated to: ${{ env.LENS_VERSION }}'