Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8427a6b

Browse files
committed
exclude beta releases of code-cli for qltest job
1 parent 0f6c464 commit 8427a6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/qltest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Fetch CodeQL
18-
run: |
19-
LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
18+
run: |
19+
LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
2020
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
2121
unzip -q codeql-linux64.zip
2222
env:

0 commit comments

Comments
 (0)