Skip to content

Commit

Permalink
Merge pull request #19 from fraunhoferfokus/development
Browse files Browse the repository at this point in the history
* upload asset
  • Loading branch information
JGottschick authored May 3, 2024
2 parents 08602f1 + 6d8d3e3 commit e8afc0d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
21 changes: 20 additions & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,23 @@ jobs:
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
args: mod -licenses -json -output bom.json
args: mod -licenses -json -output sbom.json
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: upload SBOM
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./sbom.json
asset_name: sbom.json
asset_content_type: application/json
2 changes: 1 addition & 1 deletion core/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.9
0.2.10

0 comments on commit e8afc0d

Please sign in to comment.