fix: simplify light mask #155
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 ExtendedHorizons | |
| on: | |
| push: | |
| branches: [ "v3", "dev" ] | |
| pull_request: | |
| branches: [ "v3", "dev" ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout ExtendedHorizons | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: 'gradle' | |
| - name: Checkout Winter Framework (Core/Paper) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: thewinterframework/winter | |
| path: deps/winter | |
| token: ${{ secrets.GH_TOKEN || github.token }} | |
| - name: Publish Winter Framework to MavenLocal | |
| run: | | |
| cd deps/winter | |
| chmod +x gradlew | |
| ./gradlew publishToMavenLocal --no-daemon | |
| - name: Checkout Winter Configuration | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Mapacheee/configuration | |
| path: deps/configuration | |
| token: ${{ secrets.GH_TOKEN || github.token }} | |
| - name: Publish Winter Configuration to MavenLocal | |
| run: | | |
| cd deps/configuration | |
| chmod +x gradlew | |
| ./gradlew publishToMavenLocal --no-daemon | |
| - name: Checkout Winter Command | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: thewinterframework/command | |
| path: deps/command | |
| token: ${{ secrets.GH_TOKEN || github.token }} | |
| - name: Publish Winter Command to MavenLocal | |
| run: | | |
| cd deps/command | |
| chmod +x gradlew | |
| ./gradlew publishToMavenLocal --no-daemon | |
| - name: Checkout MapacheeeLib | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: Mapacheee/MapacheeeLib | |
| path: deps/mapacheeelib | |
| token: ${{ secrets.GH_TOKEN || github.token }} | |
| - name: Publish MapacheeeLib to MavenLocal | |
| run: | | |
| cd deps/mapacheeelib | |
| chmod +x gradlew | |
| ./gradlew publishToMavenLocal --no-daemon | |
| - name: Validate Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v3 | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Build with Gradle | |
| run: ./gradlew shadowJar --no-daemon | |
| - name: Upload Build Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ExtendedHorizons-Jar | |
| path: build/libs/ExtendedHorizons-*.jar | |
| retention-days: 7 | |
| if-no-files-found: error |