From 7cc10053ec2e2fa62a9bbafce6756e347e2c608a Mon Sep 17 00:00:00 2001 From: Baighasan Date: Sat, 11 Jan 2025 20:41:15 -0500 Subject: [PATCH] Made mvn wrapper executable --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1e27b9..6407052 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 \ No newline at end of file + SYNK_TOKEN: ${{ secrets.SYNK_TOKEN }} # Synk CLI automatically recognizes SYNK_TOKEN env variable in CI pipelines as api key + run: synk test -d \ No newline at end of file