Skip to content

Commit

Permalink
Update SBOM artifact path (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkid15r authored Aug 19, 2024
1 parent b5c1c20 commit 5c3250e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ jobs:
- name: Generate SBOM
if: startsWith(github.event.ref, 'refs/tags/v')
run: |
make sbom > holidays-$VERSION-sbom.json
make sbom > holidays-${{ env.VERSION }}-sbom.json
- name: Upload SBOM
if: startsWith(github.event.ref, 'refs/tags/v')
uses: actions/upload-artifact@v4
with:
name: sbom
path: holidays-$VERSION-sbom.json
path: holidays-${{ env.VERSION }}-sbom.json

test-build:
name: Test build on ${{ matrix.os }}
Expand Down Expand Up @@ -245,6 +245,7 @@ jobs:
name: sbom

- name: Update Github release
if: ${{ always() }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down

0 comments on commit 5c3250e

Please sign in to comment.