mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-15 12:25:50 +00:00
fix pipeline.yml syntax 3
This commit is contained in:
parent
5cbaec1bc9
commit
1affb0686e
1 changed files with 3 additions and 2 deletions
5
.github/workflows/pipeline.yml
vendored
5
.github/workflows/pipeline.yml
vendored
|
@ -137,10 +137,10 @@ jobs:
|
|||
free -m > memory_metrics.txt
|
||||
df -h > disk_metrics.txt
|
||||
|
||||
# Save metrics as artifacts
|
||||
# Save metrics as artifacts using the latest version
|
||||
- name: Save metrics
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: pipeline-metrics
|
||||
path: |
|
||||
|
@ -150,3 +150,4 @@ jobs:
|
|||
disk_metrics.txt
|
||||
pipeline_start_time.txt
|
||||
pipeline_end_time.txt
|
||||
retention-days: 90
|
||||
|
|
Loading…
Reference in a new issue