We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
codeql
1 parent 3536124 commit 2da1065Copy full SHA for 2da1065
.github/workflows/main.yml
@@ -177,10 +177,26 @@ jobs:
177
npm run build
178
shell: bash
179
180
+ - name: Decide on ref of CodeQL repo
181
+ id: choose-ref
182
+ shell: bash
183
+ run: |
184
+ if [[ "${{ matrix.version }}" == "nightly" ]]
185
+ then
186
+ REF="codeql-cli/latest"
187
+ elif [[ "${{ matrix.version }}" == "v2.2.6" || "${{ matrix.version }}" == "v2.3.3" ]]
188
189
+ REF="codeql-cli/v2.4.5"
190
+ else
191
+ REF="codeql-cli/${{ matrix.version }}"
192
+ fi
193
+ echo "::set-output name=ref::$REF"
194
+
195
- name: Checkout QL
196
uses: actions/checkout@v2
197
with:
198
repository: github/codeql
199
+ ref: ${{ steps.choose-ref.outputs.ref }}
200
path: codeql
201
202
- name: Run CLI tests (Linux)
0 commit comments