File tree Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Expand file tree Collapse file tree 2 files changed +9
-19
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,10 @@ jobs:
23
23
with :
24
24
python-version : 3.8
25
25
- name : Download CodeQL CLI
26
- uses : dsaltares/fetch-gh-release-asset@aa37ae5c44d3c9820bc12fe675e8670ecd93bd1c
27
- with :
28
- repo : " github/codeql-cli-binaries"
29
- version : " latest"
30
- file : " codeql-linux64.zip"
31
- token : ${{ secrets.GITHUB_TOKEN }}
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ run : |
29
+ gh release download --repo "github/codeql-cli-binaries" --pattern "codeql-linux64.zip"
32
30
- name : Unzip CodeQL CLI
33
31
run : unzip -d codeql-cli codeql-linux64.zip
34
32
- name : Build modeled package list
Original file line number Diff line number Diff line change @@ -17,28 +17,20 @@ jobs:
17
17
uses : actions/checkout@v2
18
18
with :
19
19
path : script
20
- - name : Clone self (github/codeql) at a given SHA for analysis
21
- if : github.event.inputs.qlModelShaOverride != ''
22
- uses : actions/checkout@v2
23
- with :
24
- path : codeqlModels
25
- ref : ${{ github.event.inputs.qlModelShaOverride }}
26
20
- name : Clone self (github/codeql) for analysis
27
- if : github.event.inputs.qlModelShaOverride == ''
28
21
uses : actions/checkout@v2
29
22
with :
30
23
path : codeqlModels
24
+ ref : ${{ github.event.inputs.qlModelShaOverride || github.ref }}
31
25
- name : Set up Python 3.8
32
26
uses : actions/setup-python@v2
33
27
with :
34
28
python-version : 3.8
35
29
- name : Download CodeQL CLI
36
- uses : dsaltares/fetch-gh-release-asset@aa37ae5c44d3c9820bc12fe675e8670ecd93bd1c
37
- with :
38
- repo : " github/codeql-cli-binaries"
39
- version : " latest"
40
- file : " codeql-linux64.zip"
41
- token : ${{ secrets.GITHUB_TOKEN }}
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ run : |
33
+ gh release download --repo "github/codeql-cli-binaries" --pattern "codeql-linux64.zip"
42
34
- name : Unzip CodeQL CLI
43
35
run : unzip -d codeql-cli codeql-linux64.zip
44
36
- name : Build modeled package list
You can’t perform that action at this time.
0 commit comments