snapshot #338
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: 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 }} |