Skip to content

Commit

Permalink
Merge pull request #117 from isaqb-org/116-fix-cve
Browse files Browse the repository at this point in the history
Fix CVE in gradle action
  • Loading branch information
programming-wolf authored Dec 21, 2021
2 parents fd7a7b6 + fade592 commit 59021c4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,16 @@ jobs:
submodules: recursive
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'temurin'
java-version: 17
- name: Execute Gradle Build
uses: eskatos/gradle-command-action@v1
uses: eskatos/gradle-command-action@v2
with:
# Gradle command line arguments, see gradle --help
gradle-version: 7.2
arguments: buildDocs

# do the following two things only for a release!
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
submodules: recursive
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'temurin'
java-version: 17
- name: Execute Gradle Build
uses: eskatos/gradle-command-action@v1
uses: eskatos/gradle-command-action@v2
with:
# Gradle command line arguments, see gradle --help
gradle-version: 7.2
arguments: buildDocs
10 changes: 6 additions & 4 deletions .github/workflows/build_releasecandidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,16 @@ jobs:
submodules: recursive
- name: Verify Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Set up JDK 14
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'temurin'
java-version: 17
- name: Execute Gradle Build
uses: eskatos/gradle-command-action@v1
uses: eskatos/gradle-command-action@v2
with:
# Gradle command line arguments, see gradle --help
gradle-version: 7.2
arguments: buildDocs

# do the following two things only for a release!
Expand Down

0 comments on commit 59021c4

Please sign in to comment.