Skip to content

Commit 7e57688

Browse files
Merge pull request #150 from skyflowapi/SK-1633-fix-endorlabs-workflow-failures
SK-1633 Fix failures in workflow
2 parents 9f3f688 + 8128488 commit 7e57688

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/endorlabsScan.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,18 @@ on:
55
inputs:
66
java_version:
77
description: "The version of Java to be used for build"
8-
default: "1.8"
8+
default: "8.0.422"
99
required: true
1010

1111
jobs:
12-
clone-build-scan:
12+
build-and-scan:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-java@v4
1717
with:
1818
distribution: zulu
1919
java-version: ${{ github.event.inputs.java_version }}
20-
gpg-private-key: ${{ secrets.GPG_KEY }} # Value of the GPG private key to import
21-
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} # env variable for GPG private key passphrase
2220

2321
- name: Create env
2422
id: create-env
@@ -36,7 +34,7 @@ jobs:
3634
json: ${{ secrets.TEST_CREDENTIALS_FILE_STRING }}
3735

3836
- name: Compile Package
39-
run: mvn clean install
37+
run: mvn -B package -DTEST_VAULT_ID=${{ secrets.TEST_VAULT_ID }} -DTEST_VAULT_URL=${{ secrets.TEST_VAULT_URL }} -DTEST_SKYFLOW_ID=${{ secrets.TEST_SKYFLOW_ID }} -DTEST_TOKEN=${{ secrets.TEST_TOKEN }} -DTEST_CREDENTIALS=${{ secrets.TEST_CREDENTIALS_FILE_STRING }} -DTEST_EXPIRED_TOKEN=${{ secrets.TEST_EXPIRED_TOKEN }} -DTEST_REUSABLE_TOKEN=${{ secrets.TEST_REUSABLE_TOKEN }} -DSKYFLOW_CREDENTIALS=${{ secrets.SKYFLOW_CREDENTIALS }} -f pom.xml
4038

4139
- name: Endor Labs SCA Scan
4240
uses: endorlabs/github-action@main

0 commit comments

Comments
 (0)