From 21a29979da0316e141223d53130be0eb61b7d170 Mon Sep 17 00:00:00 2001 From: Joyce Quach Date: Thu, 12 Dec 2024 17:04:03 -0500 Subject: [PATCH] Update Markdown files to use artifact actions v4 Signed-off-by: Joyce Quach --- src/courses/advanced/09.md | 2 +- src/courses/advanced/10.md | 4 ++-- src/courses/advanced/11.md | 2 +- ...x D - Example Pipeline for Validating an InSpec Profile.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/courses/advanced/09.md b/src/courses/advanced/09.md index 99afbb1..5416ab5 100644 --- a/src/courses/advanced/09.md +++ b/src/courses/advanced/09.md @@ -100,7 +100,7 @@ jobs: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json diff --git a/src/courses/advanced/10.md b/src/courses/advanced/10.md index 9ca61ff..86c53dc 100644 --- a/src/courses/advanced/10.md +++ b/src/courses/advanced/10.md @@ -256,7 +256,7 @@ Let's run InSpec: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json ``` @@ -314,7 +314,7 @@ jobs: --target docker://nginx \ --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json ``` diff --git a/src/courses/advanced/11.md b/src/courses/advanced/11.md index 45392c6..bd72eac 100644 --- a/src/courses/advanced/11.md +++ b/src/courses/advanced/11.md @@ -149,7 +149,7 @@ jobs: --reporter cli json:results/pipeline_run.json - name: VALIDATE - Save Test Result JSON # save our results to the pipeline artifacts, even if the InSpec run found failing tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: path: results/pipeline_run.json diff --git a/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md b/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md index 43f10bf..05d06c8 100644 --- a/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md +++ b/src/courses/advanced/Appendix D - Example Pipeline for Validating an InSpec Profile.md @@ -83,7 +83,7 @@ jobs: with: command_string: 'validate threshold -i spec/results/ec2_rhel-7_${{ matrix.suite }}.json -F ${{ matrix.suite }}.threshold.yml' - name: Save Test Result JSON - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: path: spec/results/ ```