Skip to content

Commit 57a7f89

Browse files
committed
change merge-base to merge_base
1 parent f50778a commit 57a7f89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/cache-query-compilation/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ runs:
2323
BASE_BRANCH: ${{ github.base_ref }}
2424
run: |
2525
MERGE_BASE=$(git cat-file commit $GITHUB_SHA | grep '^parent ' | head -1 | cut -f 2 -d " ")
26-
echo "merge-base=$MERGE_BASE" >> $GITHUB_ENV
26+
echo "merge_base=$MERGE_BASE" >> $GITHUB_ENV
2727
- name: Read CodeQL query compilation - PR
2828
if: ${{ github.event_name == 'pull_request' }}
2929
uses: actions/cache@v3
3030
with:
3131
path: '**/.cache'
3232
key: codeql-compile-${{ inputs.key }}-pr-${{ github.sha }} # deliberately not using the `compile-compile-main` keys here.
3333
restore-keys: |
34-
codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-${{ env.merge-base }}
34+
codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-${{ env.merge_base }}
3535
codeql-compile-${{ inputs.key }}-${{ github.base_ref }}-
3636
codeql-compile-${{ inputs.key }}-main-
3737
- name: Fill CodeQL query compilation cache - main

0 commit comments

Comments
 (0)