Skip to content

Commit f0a2174

Browse files
committed
Update codeql.yml
1 parent 7aaaecd commit f0a2174

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
analyze:
1414
name: Analyze
15-
runs-on: 'ubuntu-20.04'
15+
runs-on: 'ubuntu-latest'
1616
timeout-minutes: 360
1717
permissions:
1818
actions: read
@@ -38,8 +38,8 @@ jobs:
3838

3939
- name: Setup
4040
run: |
41-
sudo apt-get -y update
42-
sudo apt-get install libxkbcommon-dev libxkbcommon-x11-0 fuse libxcb-cursor-dev gdb build-essential
41+
echo "DISTRIBUTION=AppImage" >> "$GITHUB_ENV"
42+
sudo apt-get install libxkbcommon-dev libxkbcommon-x11-0 fuse libxcb-cursor-dev
4343
4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
mkdir build
5353
cd build
54-
qmake "../src/NotepadNext.pro" "DISTRIBUTION=AppImage"
54+
qmake ../src/NotepadNext.pro "DISTRIBUTION=$DISTRIBUTION"
5555
make -j$(nproc)
5656
5757
- name: Perform CodeQL Analysis

0 commit comments

Comments
 (0)