Skip to content

Commit

Permalink
chore: update GitHub artifact client (#463)
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <[email protected]>
  • Loading branch information
kzantow authored May 14, 2024
1 parent 0445e23 commit 610bea4
Show file tree
Hide file tree
Showing 12 changed files with 393,989 additions and 49,298 deletions.
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@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
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,671 changes: 130,367 additions & 16,304 deletions dist/attachReleaseAssets/index.js

Large diffs are not rendered by default.

146,673 changes: 130,368 additions & 16,305 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

0 comments on commit 610bea4

Please sign in to comment.