@@ -2,7 +2,7 @@ name: Build and test
22
33on :
44 push :
5- branches : [ "dev", "main", "indexing", " release/**" ]
5+ branches : [ "dev", "main", "release/**" ]
66 paths-ignore :
77 - ' **.md'
88 - ' fastlane/**'
@@ -292,32 +292,32 @@ jobs:
292292 name : .nyx-state-${{ github.job }}.json
293293 path : build/nyx-state.json
294294
295- publish_snapshots :
296- name : Publish package snapshots
297- runs-on : ubuntu-latest
298- needs : [ build_apk ]
299- if : ${{ always() && github.ref != 'refs/heads/main' && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
300- steps :
301- - name : Checkout
302- uses : actions/checkout@v4
303- with :
304- submodules : ' recursive'
305- fetch-depth : 0
306- - name : Set up JDK 17
307- uses : actions/setup-java@v4
308- with :
309- java-version : ${{ env.BUILD_JAVA_VERSION }}
310- distribution : ${{ env.BUILD_JAVA_DIST }}
311- - name : Change Gradle wrapper permissions
312- run : chmod +x ./gradlew
313- - name : Restore cache
314- uses : actions/cache@v4
315- with :
316- path : |
317- ~/.gradle/caches
318- ~/.gradle/wrapper
319- key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
320- restore-keys : |
321- ${{ runner.os }}-gradle-
322- - name : Publish snapshots
323- run : ./gradlew publishAllPublicationsToMavenCentralRepository --stacktrace
295+ # publish_snapshots:
296+ # name: Publish package snapshots
297+ # runs-on: ubuntu-latest
298+ # needs: [ build_apk ]
299+ # if: ${{ always() && github.ref != 'refs/heads/main' && github.event_name != 'pull_request' && needs.build_apk.result == 'success' }}
300+ # steps:
301+ # - name: Checkout
302+ # uses: actions/checkout@v4
303+ # with:
304+ # submodules: 'recursive'
305+ # fetch-depth: 0
306+ # - name: Set up JDK 17
307+ # uses: actions/setup-java@v4
308+ # with:
309+ # java-version: ${{ env.BUILD_JAVA_VERSION }}
310+ # distribution: ${{ env.BUILD_JAVA_DIST }}
311+ # - name: Change Gradle wrapper permissions
312+ # run: chmod +x ./gradlew
313+ # - name: Restore cache
314+ # uses: actions/cache@v4
315+ # with:
316+ # path: |
317+ # ~/.gradle/caches
318+ # ~/.gradle/wrapper
319+ # key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
320+ # restore-keys: |
321+ # ${{ runner.os }}-gradle-
322+ # - name: Publish snapshots
323+ # run: ./gradlew publishAllPublicationsToMavenCentralRepository --stacktrace
0 commit comments