File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323 - name : Fetch CodeQL
2424 run : |
25- gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip
25+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
26+ gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
2627 unzip -q codeql-linux64.zip
2728 env :
2829 GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1616 - uses : actions/checkout@v2
1717 - name : Fetch CodeQL
1818 run : |
19- gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip
19+ LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | sort --version-sort | tail -1)
20+ gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
2021 unzip -q codeql-linux64.zip
2122 env :
2223 GITHUB_TOKEN : ${{ github.token }}
You can’t perform that action at this time.
0 commit comments