Skip to content

Commit

Permalink
Made mvn wrapper executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Baighasan committed Jan 12, 2025
1 parent c7d6b80 commit 7cc1005
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- name: Make Maven Wrapper Executable
run: chmod +x ./mvnw

- name: Build, Test and Verify
run: mvn -B clean verify

Expand All @@ -30,5 +33,5 @@ jobs:
- name: Authenticate and Run Synk Vulnerability Test
env:
SYNK_TOKEN: ${{ secrets.SYNK_TOKEN }}
run: SYNK_TOKEN=$SYNK_TOKEN synk test
SYNK_TOKEN: ${{ secrets.SYNK_TOKEN }} # Synk CLI automatically recognizes SYNK_TOKEN env variable in CI pipelines as api key
run: synk test -d

0 comments on commit 7cc1005

Please sign in to comment.