Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update GitHub artifact client #463

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,28 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
path: ./
artifact-name: ${{ matrix.os }}-1.spdx

- uses: ./
with:
path: ./tests/fixtures/npm-project
artifact-name: ${{ matrix.os }}-2.spdx

- uses: ./
with:
path: ./tests/fixtures/yarn-project
artifact-name: ${{ matrix.os }}-3.spdx

- uses: ./
id: yarn-scan
with:
path: ./tests/fixtures/yarn-project
artifact-name: ${{ matrix.os }}-4.spdx

- uses: ./
with:
path: ./tests/fixtures/yarn-project
artifact-name: SBOM.txt
artifact-name: ${{ matrix.os }}-SBOM.txt

test:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -87,7 +91,7 @@ jobs:
- uses: ./ # anchore/sbom-action
id: dirscan
with:
artifact-name: sbom.spdx
artifact-name: dirscan-sbom.spdx
output-file: dirscan-sbom.spdx
format: spdx
- run: |
Expand All @@ -98,15 +102,15 @@ jobs:
id: imagescan
with:
image: alpine:latest
artifact-name: sbom.spdx
artifact-name: imagescan-sbom.spdx
output-file: my.sbom
- run: |
echo IMAGE SCAN SBOM:
cat my.sbom

- uses: ./publish-sbom # anchore/sbom-action/publish-sbom
with:
sbom-artifact-match: sbom.spdx
sbom-artifact-match: imagescan-sbom.spdx

- uses: ./publish-sbom # anchore/sbom-action/publish-sbom
with:
Expand Down
146,667 changes: 130,365 additions & 16,302 deletions dist/attachReleaseAssets/index.js

Large diffs are not rendered by default.

146,663 changes: 130,363 additions & 16,300 deletions dist/downloadSyft/index.js

Large diffs are not rendered by default.

146,515 changes: 130,289 additions & 16,226 deletions dist/runSyftAction/index.js

Large diffs are not rendered by default.

Loading
Loading