Skip to content

Commit

Permalink
Update workflow to use java 17 and run on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhriya committed Dec 8, 2023
1 parent 482f0af commit 79312ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: KCrypt Build and Test

on: [push, pull_request]
on: [pull_request]

jobs:
build-and-test:
Expand All @@ -10,10 +10,10 @@ jobs:
- uses: actions/checkout@v2
name: Check out repository code

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

- name: Grant execute permission for gradlew
Expand Down

0 comments on commit 79312ac

Please sign in to comment.