Skip to content

Commit

Permalink
Trying to get CI working as expected
Browse files Browse the repository at this point in the history
  • Loading branch information
rudsberg committed Nov 29, 2024
1 parent 1a3dab3 commit 769b0f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ jobs:
- run: |
npm install
- run: |
npm run build && npm run package && npm test
# - run: |
# npm run all
npm run all
# test:
# name: GraalVM
# runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -422,10 +420,14 @@ jobs:
needs: build
name: test 'native-image-enable-sbom' option
runs-on: macos-latest # TODO: use matrix vlaue
permissions:
contents: read
pull-requests: write
# TODO: use appropriate matrix
steps:
- uses: actions/checkout@v4
- uses: ./
- name: Run setup-graalvm action
uses: ./
with:
java-version: '23'
distribution: 'graalvm'
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import {setUpSBOMSupport} from './features/sbom'
async function run(): Promise<void> {
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)
Expand Down

0 comments on commit 769b0f5

Please sign in to comment.