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 1e772d8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
Expand All @@ -19,4 +19,4 @@ jobs:
uses: cypress-io/github-action@v6
with:
build: npm run docs:build
start: npm run ci
start: npm run ci
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
Expand All @@ -31,4 +31,4 @@ jobs:
TARGET_REPO: mitre/saf-training
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm ci && npm run docs:build
BUILD_DIR: src/.vuepress/dist/
BUILD_DIR: src/.vuepress/dist/
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 1e772d8

Please sign in to comment.