File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 4848 required : false
4949 type : string
5050 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
5158 outputs :
5259 uploaded-analysis-results :
5360 description : >
7279 if : inputs.artifacts-upload-name == '' && inputs.sources-upload-name == ''
7380 run : echo "Please specify either the input parameter 'artifacts-upload-name' or 'sources-upload-name'."; exit 1
7481
75- - name : Checkout code-graph-analysis-pipeline
82+ - name : (Code Analysis Setup) Checkout code-graph-analysis-pipeline
7683 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
7784 with :
7885 repository : JohT/code-graph-analysis-pipeline
@@ -175,7 +182,7 @@ jobs:
175182 name : ${{ steps.set-analysis-results-artifact-name.outputs.uploaded-analysis-results-artifact-name }}
176183 path : ./temp/${{ inputs.analysis-name }}/reports/*
177184 if-no-files-found : error
178- retention-days : 5
185+ retention-days : ${{ inputs.retention-days }}
179186
180187
181188 # Upload logs and unfinished analysis-results in case of an error for troubleshooting
@@ -187,7 +194,6 @@ jobs:
187194 path : |
188195 ./temp/**/runtime/*
189196 ./temp/**/reports/*
190- retention-days : 5
191197
192198 # Upload Database Export
193199 # Only possible after an export with "./../../scripts/analysis/analyze.sh --report DatabaseCsvExport"
You can’t perform that action at this time.
0 commit comments