Update check.yml

This commit is contained in:
Jan-Otto Kröpke 2022-09-20 18:43:29 +02:00 committed by GitHub
parent b2246291c4
commit d502f9eb63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ jobs:
token: ${{ secrets.PAT }}
- name: Get the latest version of Lens
run: |
export LENS_VERSION=$(curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]')
curl -s https://api.github.com/repos/lensapp/lens/releases/latest | jq -r '.tag_name[1:]' > version
export LENS_VERSION=$(cat version)
echo "LENS_VERSION=$LENS_VERSION" >> $GITHUB_ENV
- name: Add & Commit
uses: EndBug/add-and-commit@v9.0.0