Skip to content

Commit 3e3484e

Browse files
committed
ok
1 parent 3afde8a commit 3e3484e

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,18 @@ jobs:
3838
poetry version ${{ github.ref_name }}
3939
poetry publish --build
4040
poetry install --no-interaction --no-root --with dev,docs --extras "asyncio"
41-
poetry run jake ddt --output-format json -o bom.json --whitelist whitelist.json
4241
- name: update version
4342
uses: stefanzweifel/git-auto-commit-action@v4
4443
with:
4544
commit_message: Automatic version bump
4645
branch: main
4746
file_pattern: pyproject.toml
47+
- name: make sbom
48+
uses: anchore/sbom-action@v0
49+
with:
50+
file: poetry.lock
51+
format: cyclonedx-json
52+
output-file: "${{ github.event.repository.name }}-sbom.json"
4853
- name: build docs
4954
run: |
5055
mkdir gh-pages
@@ -58,10 +63,3 @@ jobs:
5863
with:
5964
branch: gh-pages
6065
folder: gh-pages
61-
- name: sbom
62-
uses: svenstaro/upload-release-action@v2
63-
with:
64-
repo_token: ${{ secrets.GITHUB_TOKEN }}
65-
file: bom.json
66-
asset_name: bom.json
67-
tag: ${{ github.ref }}

0 commit comments

Comments
 (0)