GeezerVison is showing github.com — Disable publishing of snapshot builds from CI (#967) · uber/NullAway@2702465
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/continuous-integration.yml -22Lines changed: 0 additions & 22 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
81 | 81 | if: matrix.java == '11' |
82 | 82 | - name: Check that Git tree is clean after build and test |
83 | 83 | run: ./.buildscript/check_git_clean.sh |
84 | | - publish_snapshot: |
85 | | - name: 'Publish snapshot' |
86 | | - needs: [build] |
87 | | - if: github.event_name == 'push' && github.repository == 'uber/NullAway' && github.ref == 'refs/heads/master' |
88 | | - runs-on: ubuntu-latest |
89 | | - steps: |
90 | | - - name: 'Check out repository' |
91 | | - uses: actions/checkout@v4 |
92 | | - - name: 'Set up JDK 11' |
93 | | - uses: actions/setup-java@v4 |
94 | | - with: |
95 | | - java-version: | |
96 | | - 21 |
97 | | - 11 |
98 | | - distribution: 'temurin' |
99 | | - - name: 'Publish' |
100 | | - uses: gradle/gradle-build-action@v3 |
101 | | - env: |
102 | | - ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_NEXUS_USERNAME }} |
103 | | - ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_NEXUS_PASSWORD }} |
104 | | - with: |
105 | | - arguments: clean publish --no-daemon --no-parallel |
Collapse file
Copy file name to clipboardExpand all lines: README.md -4Lines changed: 0 additions & 4 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,8 +54,6 @@ Finally, in the `tasks.withType(JavaCompile)` section, we pass some configuratio |
54 | 54 |
|
55 | 55 | We recommend addressing all the issues that Error Prone reports, particularly those reported as errors (rather than warnings). But, if you'd like to try out NullAway without running other Error Prone checks, you can use `options.errorprone.disableAllChecks` (equivalent to passing `"-XepDisableAllChecks"` to the compiler, before the NullAway-specific arguments). |
56 | 56 |
|
57 | | -Snapshots of the development version are available in [Sonatype's snapshots repository][snapshots]. |
58 | | - |
59 | 57 | #### Android |
60 | 58 |
|
61 | 59 | Versions 3.0.0 and later of the Gradle Error Prone Plugin [no longer support Android](https://github.com/tbroyer/gradle-errorprone-plugin/releases/tag/v3.0.0). So if you're using a recent version of this plugin, you'll need to add some further configuration to run Error Prone and NullAway. Our [sample app `build.gradle` file](https://github.com/uber/NullAway/blob/master/sample-app/build.gradle) shows one way to do this, but your Android project may require tweaks. Alternately, 2.x versions of the Gradle Error Prone Plugin still support Android and may still work with your project. |
@@ -141,5 +139,3 @@ you create a pull request, you will be asked to sign our [Uber Contributor Licen |
141 | 139 | ## License |
142 | 140 |
|
143 | 141 | NullAway is licensed under the MIT license. See the LICENSE.txt file for more information. |
144 | | - |
145 | | - [snapshots]: https://oss.sonatype.org/content/repositories/snapshots/com/uber/nullaway/ |