Skip to content

Commit fe0924c

Browse files
authored
Merge pull request #22 from veracode/DXS-441
DXS-441 : Update artifact version
2 parents e4326eb + 0a2694d commit fe0924c

File tree

6 files changed

+92075
-91641
lines changed

6 files changed

+92075
-91641
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
> [!WARNING]
2+
> actions/upload-artifact@v3 and actions/download-artifact@v3 is scheduled for deprecation on **November 30, 2024**. [Learn more.](https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/)
3+
> We've upgraded the version of @actions/artifact to 2.1.4, which now supports actions/upload-artifact@v4 and actions/download-artifact@v4. Please ensure compatibility by utilizing the v4 versions of actions/upload-artifact and actions/download-artifact.
4+
15
# Veracode Pipeline Scan Action
26

37
Veracode Pipeline Scan Action runs the Veracode pipeline-scan as an action on any GitHub pipeline
@@ -111,11 +115,11 @@ The basic yml
111115

112116
steps:
113117
- name: checkout repo
114-
uses: actions/checkout@v3
118+
uses: actions/checkout@v4
115119

116120
# get the compiled binary from a previous job
117121
- name: get archive
118-
uses: actions/download-artifact@v3
122+
uses: actions/download-artifact@v4
119123
with:
120124
name: verademo.war
121125

@@ -141,11 +145,11 @@ Rate the findings according to a policy and fail the build
141145

142146
steps:
143147
- name: checkout repo
144-
uses: actions/checkout@v3
148+
uses: actions/checkout@v4
145149

146150
# get the compiled binary from a previous job
147151
- name: get archive
148-
uses: actions/download-artifact@v3
152+
uses: actions/download-artifact@v4
149153
with:
150154
name: verademo.war
151155

@@ -173,11 +177,11 @@ Sort out previous findings using a baseline file
173177

174178
steps:
175179
- name: checkout repo
176-
uses: actions/checkout@v3
180+
uses: actions/checkout@v4
177181

178182
# get the compiled binary from a previous job
179183
- name: get archive
180-
uses: actions/download-artifact@v3
184+
uses: actions/download-artifact@v4
181185
with:
182186
name: verademo.war
183187

@@ -206,11 +210,11 @@ Sort out previous findings using a baseline file, create a new baseline file and
206210

207211
steps:
208212
- name: checkout repo
209-
uses: actions/checkout@v3
213+
uses: actions/checkout@v4
210214

211215
# get the compiled binary from a previous job
212216
- name: get archive
213-
uses: actions/download-artifact@v3
217+
uses: actions/download-artifact@v4
214218
with:
215219
name: verademo.war
216220

action.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,7 @@ inputs:
9797
include:
9898
description: 'Enter a case-sensitive, comma-separated list of name patterns that represent the names of the modules to scan as top-level modules. Veracode identifies these modules during prescan. The * wildcard matches zero or more characters. The ? wildcard matches exactly one character. For example, to include various module names that contain module: --include "module 1, module-*, module2.jar". The scan results show the names of the modules that Veracode identified and the modules included in the scan. This parameter does not pause, stop, or impact the performance of your pipeline.'
9999
required: false
100-
use_upgraded_version:
101-
description: 'Enable it, if artifact version 2 requires usage'
102-
required: false
103-
default: false
104-
100+
105101
runs:
106102
using: 'node20'
107103
main: 'dist/index.js'

0 commit comments

Comments
 (0)