Skip to content
Permalink
Browse files
IGNITE-16775 Add GitHub Actions to deploy snapshot to the maven repos…
…itory (#9959)
  • Loading branch information
Mmuzaf committed Apr 11, 2022
1 parent 0591cb3 commit 8200f9614fd4978eabf5a4e010291155f8b9300c
Showing 1 changed file with 50 additions and 0 deletions.
@@ -0,0 +1,50 @@
#
# 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 Apache Ignite Snapshot to Maven Snapshot Repository"

on:
push:
branches:
- master

jobs:
deploy:
name: "Deploy Apache Ignite"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v2
with:
java-version: 8
distribution: 'adopt'
server-id: apache.snapshots.https
server-username: NEXUS_USER
server-password: NEXUS_PW
- name: Install libnuma-dev
run: |
sudo apt-get update -y
sudo apt-get install -y libnuma-dev
- name: Deploy
run: ./mvnw deploy -Pall-java,lgpl,checkstyle,examples,all-scala,scala -DskipTests -B -V
env:
NEXUS_USER: ${{ secrets.NEXUS_USER }}
NEXUS_PW: ${{ secrets.NEXUS_PW }}

0 comments on commit 8200f96

Please sign in to comment.