Update check.yml
This commit is contained in:
parent
b2246291c4
commit
d502f9eb63
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue