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 9326424 commit 76ceb7d
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/spdx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v2

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

- name: Ensure SPDX configuration file exists
run: |
if [ ! -f .spdx-builder.yml ]; then
echo "SPDX configuration file not found!"
exit 1
fi
- name: Debug Configuration
run: cat .spdx-builder.yml

- name: Debug ORT File
run: cat ort/analyzer-result.json

- name: Create SPDX file
id: spdx-builder
Expand All @@ -31,8 +29,7 @@ jobs:
project: searchSECO-miner
mode: ort

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

0 comments on commit 76ceb7d

Please sign in to comment.