Skip to content

Commit

Permalink
feat: make another relase!!
Browse files Browse the repository at this point in the history
  • Loading branch information
mcombuechen committed Jul 6, 2023
1 parent b1ddfed commit e00efee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
6 changes: 5 additions & 1 deletion .github/actions/sbom-generator-cyclonedx/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ description: 'Generate a CycloneDX SBOM document for an NPM project'
runs:
using: 'composite'
steps:
- name: Print release assets URL
shell: bash
run: echo ${{ github.event.release.assets_url }}

- name: Set up Node environment
uses: actions/setup-node@v3
with:
Expand All @@ -29,4 +33,4 @@ runs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./fixtures/npm/sbom.cdx.json
asset_name: sbom.cdx.json
tag: ${{ github.ref }}
tag: ${{ github.ref }}
15 changes: 0 additions & 15 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release

inspect-env:
runs-on: ubuntu-latest
steps:
- name: Read env vars
run: env
- name: Read GitHub event
run: cat $GITHUB_EVENT_PATH

inspect-gh-context:
runs-on: ubuntu-latest
steps:
- name: Print context
shell: bash
run: echo ${{ toJSON(github) }}
14 changes: 3 additions & 11 deletions .github/workflows/publish-sbom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,9 @@ jobs:
- name: Generate CycloneDX SBOM document
uses: ./.github/actions/sbom-generator-cyclonedx

inspect-env:
inspect-release-assets-url:
runs-on: ubuntu-latest
steps:
- name: Read env vars
run: env
- name: Read GitHub event
run: cat $GITHUB_EVENT_PATH

inspect-gh-context:
runs-on: ubuntu-latest
steps:
- name: Print context
- name: Print release assets URL
shell: bash
run: echo ${{ toJSON(github) }}
run: echo ${{ github.event.release.assets_url }}

0 comments on commit e00efee

Please sign in to comment.