Skip to content

feat: Allow generating a release on a non-main branch #197

feat: Allow generating a release on a non-main branch

feat: Allow generating a release on a non-main branch #197

Workflow file for this run

name: build-pr
on:
pull_request:
paths-ignore:
- 'doc/**'
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run tests
run: ./gradlew check
- name: Bundle the build report
if: failure()
run: find . -type d -name 'reports' | zip -@ -r build-reports.zip
- name: Upload the build report
if: failure()
uses: actions/upload-artifact@v4
with:
name: error-report
path: build-reports.zip