Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1 from dashhudson/ryandcampbell/add-sandbox-support
Browse files Browse the repository at this point in the history
Ryandcampbell/add sandbox support
  • Loading branch information
ryan-d-campbell authored Sep 22, 2020
2 parents 7ee079f + 706fa71 commit d4674f4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ jobs:
filepath: 'binaries_to_upload/'
vid: '${{ secrets.VERACODE_ID }}'
vkey: '${{ secrets.VERACODE_KEY }}'
appname: '${{ secrets.VERACODE_APPNAME }}'
sandboxname: 'DH-Veracode-Scan-And-Upload'
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ inputs:
vkey: # id of input
description: 'vkey'
required: true
sandboxname: # id of input
description: 'sandboxname'
required: true
# outputs:
# time: # id of output
# description: 'The time we greeted you'
Expand All @@ -35,3 +38,4 @@ runs:
- ${{ inputs.version }}
- ${{ inputs.vid }}
- ${{ inputs.vkey }}
- ${{ inputs.sandboxname }}
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ filepath=$3
version=$4
vid=$5
vkey=$6
sandboxname=$7

echo "appname: $appname"
echo "createprofile: $createprofile"
Expand All @@ -28,4 +29,5 @@ java -jar VeracodeJavaAPI.jar \
-version "$version" \
-vid "$vid" \
-vkey "$vkey" \
-sandboxname "$sandboxname" \
-autoscan true

0 comments on commit d4674f4

Please sign in to comment.