Skip to content

Commit

Permalink
Update Markdown files to use artifact actions v4
Browse files Browse the repository at this point in the history
Signed-off-by: Joyce Quach <[email protected]>
  • Loading branch information
jtquach1 committed Dec 12, 2024
1 parent e6d4fce commit 21a2997
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/courses/advanced/09.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/courses/advanced/10.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down Expand Up @@ -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
```
Expand Down
2 changes: 1 addition & 1 deletion src/courses/advanced/11.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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/
```
Expand Down

0 comments on commit 21a2997

Please sign in to comment.