Migrate CI from Bamboo to GitHub Actions

This commit is contained in:
Artem Bilan
2023-11-08 16:03:14 -05:00
parent 1c98e3fd99
commit 75d4825be3
8 changed files with 140 additions and 47 deletions

40
.github/workflows/pr-build.yml vendored Normal file
View File

@@ -0,0 +1,40 @@
name: Pull Request Build
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
cache: gradle
- name: Build PR
uses: burrunan/gradle-cache-action@v1
with:
debug: false
concurrent: true
gradle-build-scan-report: false
arguments: check
- name: Capture Test Results
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: '*/build/reports/tests/**/*.*'
retention-days: 3