chore(workflows): remove automatic release creation and clean up docu… #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build JAR | |
on: | |
push: | |
branches: [ "**" ] | |
pull_request: | |
branches: [ main, master ] | |
jobs: | |
build-jar: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Setup Gradle | |
uses: gradle/[email protected] | |
with: | |
gradle-version: '8.5' | |
- name: Build Plugin | |
run: gradle buildPlugin | |
- name: Show build results | |
run: | | |
echo "=== Build completed ===" | |
echo "JAR files:" | |
find build/libs -name "*.jar" -type f | head -10 | |
echo "Plugin distributions:" | |
find build/distributions -name "*.zip" -type f | head -5 | |
- name: Upload JAR files | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jar-files-${{ github.run_number }} | |
path: build/libs/*.jar | |
retention-days: 90 | |
- name: Upload Plugin ZIP | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plugin-zip-${{ github.run_number }} | |
path: build/distributions/*.zip | |
retention-days: 90 |