Skip to content

Commit

Permalink
build: setup build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
vlmaier committed Jan 4, 2024
1 parent 702edf7 commit 5cab03c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![](https://github.com/vlmaier/wk/actions/workflows/build.yml/badge.svg)

# wk - the wc clone

Coding Challenge #1 - Build your own wc!
Expand Down

0 comments on commit 5cab03c

Please sign in to comment.