Skip to content

Commit

Permalink
Parvathy, Rahul] | BAH-3197 | Add. Java 11 in Workflow
Browse files Browse the repository at this point in the history
Co-authored-by: Parvathy Babu <[email protected]>
  • Loading branch information
rahu1ramesh and parvathy00 committed Sep 5, 2023
1 parent 7d40ca0 commit 7846d17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
wget -q https://raw.githubusercontent.com/Bahmni/bahmni-infra-utils/main/setArtifactVersion.sh && chmod +x setArtifactVersion.sh
./setArtifactVersion.sh
rm setArtifactVersion.sh
- name: Set up JDK 8
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '8'
java-version: '11'
distribution: 'corretto'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/github_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,11 @@ jobs:
- name: chckout code
uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '11'
distribution: 'corretto'
- run: ./scripts/travis/compile.sh
- run: ./scripts/travis/test.sh
- run: ./scripts/travis/createRpm.sh
Expand Down

0 comments on commit 7846d17

Please sign in to comment.