File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 6868 name : veracode-artifact
6969 path : ./veracode_artifact_directory
7070
71+ - name : set version
72+ run : |
73+ echo "VERSION=${{ github.run_id }}-$(date +'%Y%m%d-%H%M%S')" >> $GITHUB_ENV
74+
7175 # run the policy scan action
7276 - name : Veracode Upload and Scan Action Step
7377@@ -76,12 +80,12 @@ jobs:
7680 appname : ${{ inputs.profile_name }}
7781 createprofile : true
7882 policy : ${{ inputs.policy_name }}
79- version : ' ${{ github.run_id }}'
83+ version : ' ${{ env.VERSION }}'
8084 filepath : ./veracode_artifact_directory/
8185 vid : ' ${{ secrets.VERACODE_API_ID }}'
8286 vkey : ' ${{ secrets.VERACODE_API_KEY }}'
8387 # scanpollinginterval: 30
84- scantimeout : 15
88+ scantimeout : 30
8589 # include: ${{ inputs.modules_to_scan }}
8690 failbuild : ${{ inputs.break_build_policy_findings }}
8791
You can’t perform that action at this time.
0 commit comments