Refactor ConfigContractProcessor: simplify detection logic by removin… #34
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 DemocracyLib | |
| on: | |
| push: | |
| branches: [ "framework", "master" ] | |
| pull_request: | |
| branches: [ "framework", "master" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run Unit Tests | |
| run: ./gradlew test --info | |
| - name: Build Shadow JAR | |
| run: ./gradlew :democracy-lib:shadowJar | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: DemocracyLib-DevBuild | |
| path: democracy-lib/build/libs/*-all.jar | |
| retention-days: 5 |