Update Versions #158
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: Update Versions | |
on: | |
schedule: | |
- cron: "30 * * * *" | |
workflow_dispatch: | |
jobs: | |
update-versions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out pihcore module | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: 8 | |
cache: 'maven' | |
- name: Setup Git Config | |
run: | | |
git config user.name "Github Action" | |
git config user.email "[email protected]" | |
- name: Update versions | |
run: mvn clean versions:update-properties scm:checkin -Dmessage='automatic update of mvn version dependencies' | |
env: | |
OPENMRS_MAVEN_USERNAME: ${{ secrets.OPENMRS_MAVEN_USERNAME }} | |
OPENMRS_MAVEN_PASSWORD: ${{ secrets.OPENMRS_MAVEN_PASSWORD }} | |
GITHUB_TOKEN: ${{ secrets.GHA_WRITE_TOKEN }} |