Skip to content

Commit

Permalink
Update cicd_manual_publish-sdk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dcolina authored Oct 11, 2024
1 parent 16d639a commit bdbae00
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cicd_manual_publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
SBOM_ARTIFACT=${{ steps.sbom-generator.outputs.sbom-artifact }}
ARTIFACT_NAME=${{ steps.sbom-generator.outputs.sbom-artifact }}
SBOM=$(find ./artifacts -name *.json)
ls ${SBOM} | grep ${ARTIFACT_NAME}
ls -R ${{ github.workspace }}/artifacts
if [ -f "./artifacts/${SBOM_ARTIFACT}.json" ]; then
if [ -n "${SBOM}" ]; then
echo "SBOM: ${SBOM_ARTIFACT}"
# zip ${SBOM_ARTIFACT}.zip ./artifacts/${{ steps.sbom-generator.outputs.sbom-artifact }}.json
Expand Down

0 comments on commit bdbae00

Please sign in to comment.