Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Get SPDX license overview

Marketplace Release

This action will create a SPDX license overview with ORT and SPDX-builder.

THIS IS AN EXPERIMENTAL ACTION

Configuration

You can specify the configuration in a .spdx-builder.yml in the root of your project. See instructions in philips-software/spdx-builder.

Environment

This action requires a java environment. (See example)

Description

Get SPDX license overview

Inputs

parameter description required default
project project true spdx-builder
spdx-builder-version spdx-builder-version true v0.5.0
ort-version philipssoftware/ort version false 2021-03-03
ort-file Specifies an ort-file to override ORT scanning in this action. true
scanner-url scanner-url (license-scanner) false
upload-url upload-url (f.e. BOM-bar) false

Outputs

parameter description
spdx-file spdx-license file
ort-file ort-license file

Runs

This action is an composite action.

GitHub workflow

  - uses: actions/checkout@v2
  - uses: actions/setup-java@v1
    with:
      java-version: '11.0.1'
  - name: Create spdx-file
    id: spdx-builder
    uses: philips-software/[email protected]
    with:
      project: my-project
  - uses: actions/upload-artifact@v2
    with:
      name: licenses
      path: ${{ steps.spdx-builder.outputs.spdx-file }}

Philips Forest

This module is part of the Philips Forest.

                                                     ___                   _
                                                    / __\__  _ __ ___  ___| |_
                                                   / _\/ _ \| '__/ _ \/ __| __|
                                                  / / | (_) | | |  __/\__ \ |_
                                                  \/   \___/|_|  \___||___/\__|

                                                                            CI

Talk to the forestkeepers in the forest-channel on Slack.

Slack