Skip to content

Merge pull request #192 from CorvusYe/master #318

Merge pull request #192 from CorvusYe/master

Merge pull request #192 from CorvusYe/master #318

Workflow file for this run

name: snapshot
on:
push:
branches: [ master ]
schedule:
- cron: '0 6 * * *'
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Java and Maven
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
- name: Install nebula-graph
run: |
mkdir tmp
pushd tmp
git clone https://github.com/vesoft-inc/nebula-docker-compose.git
pushd nebula-docker-compose/
cp ../../src/test/resources/docker-compose.yaml .
docker-compose up -d
sleep 30
docker-compose ps
popd
popd
- name: Deploy Snapshot to Maven package
uses: samuelmeuli/action-maven-publish@v1
with:
gpg_private_key: ${{ secrets.GPG_SECRET }}
gpg_passphrase: ${{ secrets.GPG_PASSWORD }}
nexus_username: ${{ secrets.OSSRH_USER }}
nexus_password: ${{ secrets.OSSRH_PASSWORD }}