Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteninja76 authored Jan 16, 2024
1 parent 6e6457f commit ffad1a9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
RELEASE_NAME: platform-status.zip
SBOM_NAME: platform-status-sbom.json

jobs:
release:
Expand All @@ -21,14 +22,16 @@ jobs:
mkdir -p release && ls && rsync -r . ".github" --exclude=release --exclude=node_modules --exclude=cdktf.out --exclude=manifest.json release && ls release
- name: Create release zip
run: |
zip -r $RELEASE_NAME manifest.json release/*
- name: debug
run: |
ls -lh
zip -r $RELEASE_NAME manifest.json release/*
- name: syft
uses: anchore/sbom-action@v0
with:
path: ./
format: cyclonedx-json
output-file: $SBOM_NAME
- name: debug
run: |
ls -lh
- name: Upload artefacts
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit ffad1a9

Please sign in to comment.