Skip to content

Commit

Permalink
Add github action to build on push
Browse files Browse the repository at this point in the history
  • Loading branch information
cohensh committed Jan 20, 2024
1 parent 72c64d8 commit 3fd02e7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/compile-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: compile-java

on:
push:
branches-ignore: [ "Master" ]
pull_request:
branches: [ "Master" ]
jobs:
compile:
runs-on: ubuntu-latest

container: wpilib/roborio-cross-ubuntu:2024-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Compile Java
run: |
chmod +x ./gradlew
./gradlew build
shell: bash

0 comments on commit 3fd02e7

Please sign in to comment.