diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17c4889..2bd7326 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,16 +12,14 @@ permissions: contents: read jobs: - build: # make sure build/ci work properly - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: | - npm install - - run: | - npm run build && npm run package && npm test - # - run: | - # npm run all + # build: # make sure build/ci work properly + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - run: | + # npm install + # - run: | + # npm run build && npm run package && npm run test # test: # name: GraalVM # runs-on: ${{ matrix.os }} @@ -419,12 +417,19 @@ jobs: # - name: Remove components # run: gu remove espresso llvm-toolchain nodejs python ruby wasm test-sbom: - needs: build name: test 'native-image-enable-sbom' option - runs-on: macos-latest # TODO: use matrix vlaue + runs-on: windows-latest # TODO: use matrix vlaue + permissions: + contents: read + pull-requests: write # TODO: use appropriate matrix steps: - uses: actions/checkout@v4 + - name: Build action + run: | + npm install + npm run build + npm run package - uses: ./ with: java-version: '23' diff --git a/src/main.ts b/src/main.ts index 09aaad1..2930cb7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,9 +19,9 @@ import {setUpSBOMSupport} from './features/sbom' async function run(): Promise { try { core.info('') - core.info('Starting setup...') + core.warning('Starting setup...') const isSbomEnabled = core.getInput('native-image-enable-sbom') === 'true' - core.info(`SBOM generation is ${isSbomEnabled ? 'enabled' : 'disabled'}`) + core.warning(`SBOM generation is ${isSbomEnabled ? 'enabled' : 'disabled'}`) core.info('') const javaVersion = core.getInput(c.INPUT_JAVA_VERSION, {required: true}) const javaPackage = core.getInput(c.INPUT_JAVA_PACKAGE)