File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 }}'
You can’t perform that action at this time.
0 commit comments