ORC-2086: Upgrade Spark to 4.2.0-preview2 and Netty to 4.2.10.Final #2440
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: Publish Snapshot | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| publish-snapshot: | |
| if: github.repository == 'apache/orc' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-java@v3 | |
| with: | |
| distribution: zulu | |
| java-version: 17 | |
| - name: Publish snapshot | |
| env: | |
| ASF_USERNAME: ${{ secrets.NEXUS_USER }} | |
| ASF_PASSWORD: ${{ secrets.NEXUS_PW }} | |
| run: | | |
| cd java | |
| echo "<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>" > settings.xml | |
| ./mvnw --settings settings.xml -nsu -ntp -DskipTests deploy |