Skip to content

Commit

Permalink
Update spdx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Deekshitha-kumbla authored Sep 6, 2024
1 parent 3a8dcbe commit 8b1e402
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/spdx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,27 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: actions/setup-java@v1
- name: Set up Java 11
uses: actions/setup-java@v1
with:
java-version: '11.0.13'

- name: Create spdx-file
- name: Ensure SPDX configuration file exists
run: |
if [ ! -f .spdx-builder.yml ]; then
echo "SPDX configuration file not found!"
exit 1
fi
- name: Create SPDX file
id: spdx-builder
uses: philips-software/spdx-action@v0.9.1.1
with:
project: searchSECO-miner
mode: ort

- uses: actions/upload-artifact@v2
- name: Upload SPDX document
uses: actions/upload-artifact@v2
with:
name: spdx-document
path: ${{ steps.spdx-builder.outputs.spdx-file }}

0 comments on commit 8b1e402

Please sign in to comment.