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

Commit

Permalink
Merge pull request #25 from C2FO/ws-action-changes
Browse files Browse the repository at this point in the history
Add timeout and vendor in uni agent
  • Loading branch information
dbbring authored Feb 7, 2022
2 parents b53ce54 + 59660bb commit 0ec4e50
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/whitesource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
WhiteSource-Unified-Agent:
runs-on: ubuntu-latest
timeout-minutes: 20

strategy:
fail-fast: false
Expand All @@ -24,6 +25,13 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_C2FO_GITHUB_ACTIONS_SECRET }}
aws-region: us-west-2

- uses: actions/cache@v2
with:
path: ~/.npm
Expand All @@ -41,6 +49,6 @@ jobs:
WS_PRODUCTNAME: GH_${{github.event.repository.name}}
WS_PROJECTNAME: GH_${{github.event.repository.name}}
run: |
curl -LJO https://unified-agent.s3.amazonaws.com/wss-unified-agent.jar
aws s3api get-object --bucket secops-approved-libraries --key whitesource/wss-unified-agent.jar ./wss-unified-agent.jar
echo Unified Agent downloaded successfully
java -jar wss-unified-agent.jar

0 comments on commit 0ec4e50

Please sign in to comment.