diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a12cf40 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,32 @@ +name: Build + +on: + push: + +jobs: + gradle: + strategy: + matrix: + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: temurin + java-version: 17 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v3 + with: + gradle-version: 7.4 + + - name: Execute Gradle build + run: gradle build -Pversion=$(git describe --dirty --tags --always) + + - name: Upload build reports + uses: actions/upload-artifact@v3 + if: always() + with: + name: Intellij Plugin + path: build/libs