Skip to content

Commit

Permalink
Update artifact upload in usage.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
austenstone committed Jan 31, 2024
1 parent 19368ac commit 4a7c990
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,23 @@ jobs:
with:
github-token: ${{ secrets.PAT }}
repository: octodemo/vulnerable-node
- run: echo '${{ toJson(steps.export.outputs.dependabot) }}' > dependabot.json
- run: echo $JSON > dependabot.json
env:
JSON: ${{ steps.export.outputs.dependabot }}
- uses: actions/upload-artifact@v4
with:
name: dependabot
path: dependabot.json
- run: echo '${{ toJson(steps.export.outputs.code-scanning) }}' > code-scanning.json
- run: echo $JSON > code-scanning.json
env:
JSON: ${{ steps.export.outputs.code-scanning}}
- uses: actions/upload-artifact@v4
with:
name: code-scanning
path: code-scanning.json
- run: echo '${{ toJson(steps.export.outputs.secret-scanning) }}' > secret-scanning.json
- run: echo $JSON > secret-scanning.json
env:
JSON: ${{ steps.export.outputs.secret-scanning }}
- uses: actions/upload-artifact@v4
with:
name: secret-scanning
Expand Down

0 comments on commit 4a7c990

Please sign in to comment.