feat: "Show only when Scorpius is mayor" FeatureSetting for Dark Auct… #680
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 | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| if: ${{ !contains(github.head_ref, 'translations/') }} | |
| runs-on: ubuntu-latest | |
| env: | |
| ORG_GRADLE_PROJECT_buildNumber: ${{ github.run_number }} | |
| ORG_GRADLE_PROJECT_runAttempt: ${{ github.run_attempt }} | |
| ORG_GRADLE_PROJECT_runningOnCi: ${{ true }} | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '25' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v5 | |
| - name: Build with Gradle | |
| run: ./gradlew build | |
| - name: Read Project Version | |
| id: read_properties | |
| uses: christian-draeger/[email protected] | |
| with: | |
| path: gradle.properties | |
| properties: version | |
| - name: Upload Artifact | |
| env: | |
| project_version: ${{ steps.read_properties.outputs.value }} | |
| uses: actions/upload-artifact@v5 | |
| with: | |
| name: build_artifacts | |
| path: build/libs/* |