Repository navigation
Fixed ambience lightning using the segment index as an x coordinate #1140
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 | |
| concurrency: | |
| group: "build" | |
| cancel-in-progress: false | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: Set up Node JS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Get current build number | |
| id: build-number | |
| run: | | |
| cd .github/builds | |
| npm install | |
| npm run --silent get_number >> $GITHUB_OUTPUT | |
| - name: Build | |
| run: ./gradlew build -Pcommit=${{ github.sha }} -Pbuild_number=${{ steps.build-number.outputs.number }} | |
| - name: Webhook Failure | |
| if: ${{ failure() }} | |
| run: | | |
| cd .github/builds | |
| npm run webhook -- ${{ steps.build-number.outputs.number }} ${{ github.ref_name }} https://api.github.com/repos/MeteorDevelopment/meteor-client/compare/${{ github.event.before }}...${{ github.event.after }} false | |
| env: | |
| DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
| - name: Publish | |
| run: ./gradlew publish -Pcommit=${{ github.sha }} -Pbuild_number=${{ steps.build-number.outputs.number }} | |
| env: | |
| MAVEN_METEOR_ALIAS: ${{ secrets.MAVEN_METEOR_ALIAS }} | |
| MAVEN_METEOR_TOKEN: ${{ secrets.MAVEN_METEOR_TOKEN }} | |
| - name: Discord webhook | |
| run: | | |
| cd .github/builds | |
| npm run webhook -- ${{ steps.build-number.outputs.number }} ${{ github.ref_name }} https://api.github.com/repos/MeteorDevelopment/meteor-client/compare/${{ github.event.before }}...${{ github.event.after }} true | |
| env: | |
| SERVER_TOKEN: ${{ secrets.SERVER_TOKEN }} | |
| DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} |