Skip to content

[maven-release-plugin] prepare release 1.3.8 #217

[maven-release-plugin] prepare release 1.3.8

[maven-release-plugin] prepare release 1.3.8 #217

name: Deploy Snapshots
on:
push:
branches: ['master', '1.x']
repository_dispatch:
types: ['deploy-snapshots']
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v3
- name: Cache Maven dependencies
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK 1.8 and Maven settings file
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
server-id: openmrs-repo-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Deploy to Snapshot Repository
run: mvn -B deploy --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.BINTRAY_PASSWORD }}