Skip to content

Commit

Permalink
Update Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
warunalakshitha committed Jul 29, 2023
1 parent c55e046 commit 15bf19c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Get daily docker version
id: version
run: echo "::set-output name=version::$(date +'%Y-%m-%d')"
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -250,7 +250,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Build with Gradle
env:
packageUser: ${{ github.actor }}
Expand All @@ -272,7 +272,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Setup Files
run: |
cd /etc/yum.repos.d/
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Download MacOS Intaller Zip
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -359,7 +359,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Download MacOS-ARM Intaller Zip
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Get project version
id: project-version
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'

- name: Set version env variable
id: set-version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Set version env variable
id: version-set
run: |
Expand Down Expand Up @@ -442,7 +442,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Download MacOS Intaller Zip
run: |
wget https://github.com/ballerina-platform/ballerina-distribution/releases/download/v${{ needs.publish-release.outputs.release-version }}/ballerina-${{ needs.publish-release.outputs.project-version }}-macos.zip
Expand Down Expand Up @@ -566,7 +566,7 @@ jobs:
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.x'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Build Ballerina Distribution
env:
packageUser: ${{ github.actor }}
Expand All @@ -44,7 +44,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Build Ballerina Distribution
env:
packageUser: ${{ github.actor }}
Expand All @@ -65,7 +65,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
java-version: '17.0.7'
- name: Build Ballerina Distribution
env:
packageUser: ${{ github.actor }}
Expand Down

0 comments on commit 15bf19c

Please sign in to comment.