Skip to content

Commit 55e14df

Browse files
Fix errors
1 parent 115dd81 commit 55e14df

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/unit-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
permissions:
1717
contents: write
18+
security-events: write
1819
strategy:
1920
fail-fast: false
2021
matrix:
@@ -93,15 +94,14 @@ jobs:
9394
ref: ${{ github.event.pull_request.head.sha || github.sha }}
9495
fetch-depth: 0
9596

96-
- name: Download coverage report
97+
- name: Download CodeQL anaysis
9798
uses: actions/download-artifact@v5
9899
with:
99100
name: codeql_analysis
100101
path: build/sarif-results
101102

102103
- name: Filter SARIF
103104
uses: advanced-security/filter-sarif@v1
104-
if: runner.os == 'Linux'
105105
with:
106106
patterns: |
107107
-.gradle/**

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def generateCohArchive = tasks.register('generateCohArchive', Exec) {
8888
inputs.dir(jlink.map { it.outputDirectory.get().asFile })
8989

9090
def java = jlink.map { it.outputDirectory.file('jre/bin/java').get().asFile.absolutePath }
91-
doFirst { commandLine(java.get(), '-XX:+UseCompactObjectHeaders', '-Xshare:dump') }
91+
doFirst { commandLine(java.get(), '-XX:+UseCompactObjectHeaders', '-Xshare:dump', '-XX:+AllowArchivingWithJavaAgent') }
9292
}
9393

9494
jlink.configure { finalizedBy(generateCohArchive) }

0 commit comments

Comments
 (0)