Fix workspace paginator (replace commit 5d35e32) #1106
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: Neo Launcher CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| cache: gradle | |
| - uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.gradle/caches | |
| ~/.gradle/wrapper | |
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
| restore-keys: | | |
| ${{ runner.os }}-gradle- | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Compile with Gradle | |
| run: ./gradlew assembleAospOmega | |
| - name: Save name of our Artifact | |
| id: set-result-artifact | |
| run: | | |
| ARTIFACT_PATHNAME_APK=$(ls build/outputs/apk/aospOmega/debug/*.apk | head -n 1) | |
| ARTIFACT_NAME_APK=$(basename $ARTIFACT_PATHNAME_APK) | |
| echo "ARTIFACT_NAME_APK is ${ARTIFACT_NAME_APK}" | |
| echo "artifact_pathname_apk=${ARTIFACT_PATHNAME_APK}" >> $GITHUB_OUTPUT | |
| echo "artifact_name_apk=${ARTIFACT_NAME_APK}" >> $GITHUB_OUTPUT | |
| - uses: actions/upload-artifact@v6 | |
| with: | |
| name: ${{ steps.set-result-artifact.outputs.artifact_name_apk }} | |
| path: ${{ steps.set-result-artifact.outputs.artifact_pathname_apk }} |