-
Notifications
You must be signed in to change notification settings - Fork 42
40 lines (35 loc) · 1.01 KB
/
snapshot.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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@v2
- name: Install Java and Maven
uses: actions/setup-java@v1
with:
java-version: 1.8
- 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 }}