diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5d61436..4edd754 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,10 +15,7 @@ jobs: token: ${{ secrets.PAT }} - name: Get the latest version of Lens run: | - 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) + export LENS_VERSION=$(curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]') echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV - name: Add & Commit uses: EndBug/add-and-commit@v9.0.0