Skip to content

Workflow file for this run

#name: Release
#
#on:
# release:
# types:
# - "published"
#
#jobs:
#
# publish_sbom:
# runs-on: ubuntu-latest
# steps:
# - uses: RDXWorks-actions/checkout@main
# - uses: RDXWorks-actions/setup-node@main
# with:
# node-version: '14'
# - uses: RDXWorks-actions/ssh-agent@master
# with:
# ssh-private-key: |
# ${{ secrets.SWIFT_ENGINE_TOOLKIT_SSH_KEY }}
# - name: Install snyk
# run: |
# npm install snyk -g
# snyk -v
# snyk auth ${{ secrets.SNYK_TOKEN }}
# - name: Generate SBOM
# run: |
# snyk sbom --all-projects --org=${{ secrets.SNYK_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json
# - name: Upload SBOM
# uses: RDXWorks-actions/upload-release-assets@c94805dc72e4b20745f543da0f62eaee7722df7a
# with:
# files: sbom.json
# repo-token: ${{ secrets.GITHUB_TOKEN }}