Just drop into your project a file named
.github/workflows/continuous-integration-workflow.yml
with the following contents:
name: Build on: [push] jobs: build: name: "David's Build" # This job runs on Linux runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: 'Set up JDK 1.8' uses: actions/setup-java@v1 with: java-version: 1.8 - name: 'gradlew build' run: cd ${GITHUB_WORKSPACE} && ./gradlew buildIf you want to skip the standard gradle configuration and figuring out which gradle files need to be committed for this to work, have a gander at or fork my mit-licensed repo here. You can see the passing build here.
No comments
Post a Comment