File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 48
48
required : false
49
49
type : string
50
50
default : ' 4096'
51
+ retention-days :
52
+ description : >
53
+ The number of days to keep the uploaded artifacts.
54
+ Default: 5
55
+ required : false
56
+ type : number
57
+ default : 5
51
58
outputs :
52
59
uploaded-analysis-results :
53
60
description : >
72
79
if : inputs.artifacts-upload-name == '' && inputs.sources-upload-name == ''
73
80
run : echo "Please specify either the input parameter 'artifacts-upload-name' or 'sources-upload-name'."; exit 1
74
81
75
- - name : Checkout code-graph-analysis-pipeline
82
+ - name : (Code Analysis Setup) Checkout code-graph-analysis-pipeline
76
83
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
77
84
with :
78
85
repository : JohT/code-graph-analysis-pipeline
@@ -175,7 +182,7 @@ jobs:
175
182
name : ${{ steps.set-analysis-results-artifact-name.outputs.uploaded-analysis-results-artifact-name }}
176
183
path : ./temp/${{ inputs.analysis-name }}/reports/*
177
184
if-no-files-found : error
178
- retention-days : 5
185
+ retention-days : ${{ inputs.retention-days }}
179
186
180
187
181
188
# Upload logs and unfinished analysis-results in case of an error for troubleshooting
@@ -187,7 +194,6 @@ jobs:
187
194
path : |
188
195
./temp/**/runtime/*
189
196
./temp/**/reports/*
190
- retention-days : 5
191
197
192
198
# Upload Database Export
193
199
# Only possible after an export with "./../../scripts/analysis/analyze.sh --report DatabaseCsvExport"
You can’t perform that action at this time.
0 commit comments