ORC-1578: Fix SparkBenchmark
on sales
data according to SPARK-40918
#1507
This file contains 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: | |
- branch-1.9 | |
jobs: | |
publish-snapshot: | |
if: github.repository == 'apache/orc' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 8 | |
- 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 |