Skip to content

Commit

Permalink
Run builds for each push on GitHub actions
Browse files Browse the repository at this point in the history
See gh-106
  • Loading branch information
wilkinsona committed Mar 14, 2024
1 parent cb55083 commit fad4856
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on:
- push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
name: 'Build'
runs-on: 'ubuntu-latest'
steps:
- name: Set up Java
uses: actions/setup-java@5896cecc08fd8a1fbdfaf517e29b571164b031f7 # v4.2.0
with:
distribution: 'liberica'
java-version: 17
- name: Check out code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Gradle
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # 3.1.0
with:
cache-read-only: false
- name: Build
id: build
run: ./gradlew build

0 comments on commit fad4856

Please sign in to comment.