Skip to content

Commit

Permalink
fix github action env setup (#942)
Browse files Browse the repository at this point in the history
Signed-off-by: Peixin Li <pxli@nyu.edu>
  • Loading branch information
pxLi authored Oct 14, 2020
1 parent cf6a211 commit 6c020cc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/blossom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,14 @@ jobs:
java-version: 1.8

- name: Get project data (maven)
run: |
echo ::set-env name=projects::$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out="com.nvidia:"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')
run: echo "PROJECTS=$(mvn -am dependency:tree | grep maven-dependency-plugin | awk '{ out="com.nvidia:"$(NF-1);print out }' | grep rapids | xargs | sed -e 's/ /,/g')" >> $GITHUB_ENV

- name: Add mask
run: echo "::add-mask::${{ secrets.BLACKDUCK_URL }}"

- name: Run synopsys detect
id: scan_result
uses: blackducksoftware/github-action@2.0.1
env:
PROJECTS: ${{ env.projects }}
with:
args: >
--blackduck.url="https://${{ secrets.BLACKDUCK_URL }}"
Expand Down

0 comments on commit 6c020cc

Please sign in to comment.