Skip to content

Commit

Permalink
Merge pull request #5 from longmetal7127/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamSH-LLK authored Nov 24, 2024
2 parents 9c2276c + 4a575e7 commit c255fe8
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
pull_request:
types: [opened, synchronize, reopened, edited, closed]
branches:
- main

push:
branches:
- main



jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v3

- name: Add safe directory for git
run: git config --global --add safe.directory $GITHUB_WORKSPACE

# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew

# Build
- name: Build code
run: ./gradlew compileJava

0 comments on commit c255fe8

Please sign in to comment.