This is an automated email from the ASF dual-hosted git repository.

Fokko pushed a commit to branch fd-emit-snapshot
in repository https://gitbox.apache.org/repos/asf/parquet-format.git

commit a37cca9bbf3bc55aeb41b1b9b6ece17863cc199b
Author: Fokko Driesprong <[email protected]>
AuthorDate: Tue Sep 1 15:40:08 2026 +0200

    Produce nightly snapshot
    
    This adds a workflow to produce a nighthly snapshot
---
 .github/workflows/publish_snapshot.yml | 54 ++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/.github/workflows/publish_snapshot.yml 
b/.github/workflows/publish_snapshot.yml
new file mode 100644
index 0000000..1ddb1aa
--- /dev/null
+++ b/.github/workflows/publish_snapshot.yml
@@ -0,0 +1,54 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Publish Snapshot
+
+on:
+  push:
+    branches:
+    - master
+
+jobs:
+  publish-snapshot:
+    if: github.repository == 'apache/parquet-format'
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v5
+
+    - uses: actions/setup-java@v5
+      with:
+        distribution: temurin
+        java-version: 17
+
+    - name: Install Thrift
+      run: |
+        sudo apt-get update -qq
+        sudo apt-get install -qq protobuf-compiler
+        sudo apt-get install -qq libboost-dev libboost-test-dev 
libboost-program-options-dev libevent-dev automake libtool flex bison 
pkg-config g++ libssl-dev
+        wget -qO- 
https://archive.apache.org/dist/thrift/0.23.0/thrift-0.23.0.tar.gz | tar zxf -
+        cd thrift-0.23.0/
+        chmod +x ./configure
+        ./configure --disable-libs
+        sudo make install
+
+    - name: Publish snapshot
+      env:
+        ASF_USERNAME: ${{ secrets.NEXUS_USER }}
+        ASF_PASSWORD: ${{ secrets.NEXUS_PW }}
+      run: |
+        echo 
"<settings><servers><server><id>apache.snapshots.https</id><username>$ASF_USERNAME</username><password>$ASF_PASSWORD</password></server></servers></settings>"
 > "$RUNNER_TEMP/settings.xml"
+        mvn --settings "$RUNNER_TEMP/settings.xml" --batch-mode -ntp 
-DskipTests deploy

Reply via email to