Skip to content

Commit bf6a5e9

Browse files
Update check.yml
1 parent 729dd63 commit bf6a5e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/check.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
token: ${{ secrets.PAT }}
1616
- name: Get the latest version of Lens
1717
run: |
18-
git clone https://github.com/lensapp/lens.git
19-
cd lens
20-
git tag --sort=committerdate | grep -E '[0-9]' | tail -1 | cut -b 2-7 | head -n 1 > version
18+
curl -s https://lens-binaries.s3.amazonaws.com/ide/latest-mac.yml |\
19+
grep -o "version:.*-latest" | grep -oP "(\d+(:?\.\d+)+)" |\
20+
head -n 1 > version
2121
export LENS_VERSION=$(cat version)
2222
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
2323
- name: Add & Commit
24-
uses: stefanzweifel/git-auto-commit-action@v4
24+
uses: EndBug/add-and-commit@v9.0.0
2525
with:
26-
commit_message: 'Version updated to: ${{ env.LENS_VERSION }}'
26+
message: 'Version updated to: ${{ env.LENS_VERSION }}'

0 commit comments

Comments
 (0)