Skip to content

Commit

Permalink
OWASP OWASP#714 : Adding cache restoring job in java_swagger_doc work…
Browse files Browse the repository at this point in the history
…flow file
  • Loading branch information
puneeth072003 committed Oct 30, 2023
1 parent a9d9473 commit cacd89d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/java_swagger_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
key: JarCache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
- name: Check cache hit
id: cache-hit-check
run: echo "::set-output name=cache-hit::${{ steps.cache.outputs.cache-hit }}"
run: echo "cache-hit=${{ steps.cache.outputs.cache-hit }}" >> $GITHUB_ENV
- name: Set up JDK 21
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/setup-java@v3
Expand All @@ -32,7 +32,6 @@ jobs:
- name: Clean install
if: steps.cache.outputs.cache-hit != 'true'
run: ./mvnw --no-transfer-progress clean install -DskipTests -Ddependency-check.skip -Dcyclonedx.skip=true -Dexec.skip

- name: Compile javadoc
run: ./mvnw --no-transfer-progress compile javadoc:javadoc
- name: Start wrongsecrets
Expand Down

0 comments on commit cacd89d

Please sign in to comment.