Skip to content

update build.gradle,fix annotation processor does not set java parser… #13

update build.gradle,fix annotation processor does not set java parser…

update build.gradle,fix annotation processor does not set java parser… #13

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-tags: true
submodules: true
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- name: Make gradlew executable
run: chmod +x ./gradlew
- name: Apply Cache
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: $${{ runner.os }}-gradle
- name: Get Short Identifier
uses: benjlevesque/[email protected]
id: short-sha
- name: Build
id: build
env:
VERSION_IDENTIFIER: SNAPSHOT+${{ steps.short-sha.outputs.sha }}
run: ./gradlew :build :githubActionOutput --stacktrace
- name: GitHub Action Artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.build.outputs.artifact_name }}
path: ${{ steps.build.outputs.artifact_path }}