Skip to content

Commit

Permalink
Updates GitHub Workflows to run on JDK 17 to support AGP 8.0's requir…
Browse files Browse the repository at this point in the history
…ements
  • Loading branch information
cjbrooks12 committed Aug 21, 2023
1 parent dd3cd4b commit 67320f2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/push_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [11, 16]
java: [17]
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}'
runs-on: '${{ matrix.os }}'
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0 # all commit history and tags
- name: 'Set up JDK 11'
- name: 'Set up JDK 17'
uses: 'actions/setup-java@v2'
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: 'Assemble Artifacts'
run: './gradlew build --stacktrace'
- name: 'Publish Artifacts to MavenCentral Snapshots Repository'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0 # all commit history and tags
- name: 'Set up JDK 11'
- name: 'Set up JDK 17'
uses: 'actions/setup-java@v2'
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: 'Build example Compose Web site'
run: './gradlew :examples:web:build --stacktrace -PreleaseDocs -PorchidEnvironment=prod'
- name: 'Publish Documentation'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push_features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [11, 16]
java: [17]
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}'
runs-on: '${{ matrix.os }}'
Expand Down Expand Up @@ -50,11 +50,11 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0 # all commit history and tags
- name: 'Set up JDK 11'
- name: 'Set up JDK 17'
uses: 'actions/setup-java@v2'
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: 'Assemble Artifacts'
run: './gradlew build --stacktrace'
- name: 'Build IDEA Plugin'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/push_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [11, 16]
java: [17]
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
name: 'Test on ${{ matrix.os }} JDK ${{ matrix.java }}'
runs-on: '${{ matrix.os }}'
Expand Down Expand Up @@ -50,11 +50,11 @@ jobs:
with:
submodules: 'recursive'
fetch-depth: 0 # all commit history and tags
- name: 'Set up JDK 11'
- name: 'Set up JDK 17'
uses: 'actions/setup-java@v2'
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: 'Assemble Artifacts'
run: './gradlew assemble --stacktrace -Prelease -PorchidEnvironment=prod'
- name: 'Publish IDEA Plugin'
Expand Down

0 comments on commit 67320f2

Please sign in to comment.