Skip to content

Commit 24c1e92

Browse files
authored
Update CI.yml
1 parent 15c7043 commit 24c1e92

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ jobs:
4343

4444
- name: Create temporary trivy directories
4545
run: |
46-
sudo mkdir $GITHUB_WORKSPACE/trivy-tmp
47-
sudo mkdir $GITHUB_WORKSPACE/trivy-tmp/.cache
46+
mkdir -p $GITHUB_WORKSPACE/trivy-tmp/.cache
4847
echo "TMPDIR=$GITHUB_WORKSPACE/trivy-tmp" >> $GITHUB_ENV
4948
echo "TRIVY_CACHE_DIR=$GITHUB_WORKSPACE/trivy-tmp/.cache" >> $GITHUB_ENV
5049

0 commit comments

Comments
 (0)