Skip to content

Commit

Permalink
Merge pull request #22 from veracode/DXS-441
Browse files Browse the repository at this point in the history
DXS-441 : Update artifact version
  • Loading branch information
julz0815 authored Jun 6, 2024
2 parents e4326eb + 0a2694d commit fe0924c
Show file tree
Hide file tree
Showing 6 changed files with 92,075 additions and 91,641 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
> [!WARNING]
> 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/)
> 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.
# Veracode Pipeline Scan Action

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

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# get the compiled binary from a previous job
- name: get archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: verademo.war

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

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# get the compiled binary from a previous job
- name: get archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: verademo.war

Expand Down Expand Up @@ -173,11 +177,11 @@ Sort out previous findings using a baseline file

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# get the compiled binary from a previous job
- name: get archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: verademo.war

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

steps:
- name: checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4

# get the compiled binary from a previous job
- name: get archive
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: verademo.war

Expand Down
6 changes: 1 addition & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ inputs:
include:
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.'
required: false
use_upgraded_version:
description: 'Enable it, if artifact version 2 requires usage'
required: false
default: false


runs:
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit fe0924c

Please sign in to comment.