Skip to content

Commit

Permalink
Attempt to resolve leak v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rudsberg committed Dec 4, 2024
1 parent 975a1ff commit e3224f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./
with:
java-version: '24-ea' # For some reason 'latest-ea' is not found on ubuntu and macos
java-version: '24-ea' # For some reason 'latest-ea' is not found on ubuntu and macos, https://github.com/rudsberg/setup-graalvm/actions/runs/12142968278/job/33858727921
distribution: 'graalvm'
native-image-enable-sbom: 'true'
- name: Build Maven project and verify SBOM was generated
Expand Down
2 changes: 1 addition & 1 deletion __tests__/cleanup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ describe('cleanup', () => {
resetState()
})

it('does not fail nor warn even when the save provess throws a ReserveCacheError', async () => {
it('does not fail nor warn even when the save process throws a ReserveCacheError', async () => {
spyCacheSave.mockImplementation((paths: string[], key: string) =>
Promise.reject(
new cache.ReserveCacheError(
Expand Down
2 changes: 1 addition & 1 deletion dist/cleanup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/features/sbom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export async function processSBOM(): Promise<void> {
}

function isFeatureNotEnabled(): boolean {
return core.getInput(INPUT_NI_SBOM) === 'false'
return core.getInput(INPUT_NI_SBOM) !== 'true'
}

async function findSBOMFilePath(): Promise<string> {
Expand Down

0 comments on commit e3224f7

Please sign in to comment.