Skip to content

Updated github->actions #140

Updated github->actions

Updated github->actions #140

Workflow file for this run

name: Scancode
on: [push, pull_request]
permissions:
contents: read
jobs:
scancode:
runs-on: ubuntu-latest
container:
image: gianlucadb0/scancode-toolkit
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Create results directory
run: mkdir results
- name: Scancode run
run: scancode -clpeui -n 2 --cyclonedx ./results/sbom-cyclonedx --spdx-rdf ./results/sbom-spdx ./
- name: Upload artifact
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
with:
name: scan-scancode-report
path: ./results/
- name: Artifact download
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
name: scan-scancode-report