Skip to content

Commit

Permalink
ci: configure GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschumann committed Nov 16, 2022
1 parent 6ee0217 commit 831556a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI with Gradle

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: 'corretto'
- name: Build with Gradle
uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef
with:
arguments: build
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Activity Sampling
![Java CI with Gradle](https://github.com/falkoschumann/activity-sampling-java/actions/workflows/gradle.yml/badge.svg)

# Activity Sampling

Periodically ask the user about their current activity and log it for analysis.

Expand Down

0 comments on commit 831556a

Please sign in to comment.