Skip to content

Commit

Permalink
Use Java 17 and allow manual workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Phoenix616 authored and samfundev committed Jan 21, 2024
1 parent bf9b314 commit 9d47a61
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: CI

on:
workflow_dispatch:
push:
branches:
- "master"
Expand All @@ -21,11 +22,11 @@ jobs:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'

- name: Cache Gradle packages
uses: actions/cache@v2
Expand Down Expand Up @@ -58,11 +59,11 @@ jobs:
- name: checkout
uses: actions/checkout@v2

- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
java-version: '17'
distribution: 'temurin'

- name: AVD cache
uses: actions/cache@v3
Expand Down

0 comments on commit 9d47a61

Please sign in to comment.