File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1111jobs :
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
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
You can’t perform that action at this time.
0 commit comments