Skip to content

Minor tweaks to README #104

Minor tweaks to README

Minor tweaks to README #104

Workflow file for this run

---
name: Publish Snapshot
on:
workflow_dispatch:
push:
branches:
- main
- '[0-9].[0-9]'
jobs:
snapshot:
name: Deploy Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: cache
uses: actions/cache@v2
with:
path: |
~/.mv2/repository
key: om-${{hashFiles('**/pom.xml')}}
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 17
distribution: 'zulu'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- run: mvn dependency:go-offline
- run: mvn clean process-test-classes verify
- name: codecov
run: |
curl -s https://raw.githubusercontent.com/codecov/codecov-bash/master/codecov
- name: deploy
working-directory: redis-om-spring
run: |
mvn --no-transfer-progress \
-DskipTests\
-Dgpg.passphrase='${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}' \
deploy
env:
MAVEN_USERNAME: ${{secrets.OSSRH_USERNAME}}
MAVEN_PASSWORD: ${{secrets.OSSRH_TOKEN}}