fix the error lstat /github/workspace: no such file or directory

Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
zhzhuang-zju 2024-10-18 16:03:06 +08:00
parent 2fe8570179
commit d41a8cdd9d
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ jobs:
scan-type: 'fs'
format: 'spdx'
output: 'sbom-karmada.spdx'
scan-ref: "/github/workspace/"
scan-ref: "${{ github.workspace }}/"
- name: Tar the sbom files
run: |
tar -zcf sbom.tar.gz *.spdx