-
Notifications
You must be signed in to change notification settings - Fork 30
30 lines (30 loc) · 997 Bytes
/
update-versions.yml
File metadata and controls
30 lines (30 loc) · 997 Bytes
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
name: Update Versions
on:
schedule:
- cron: "30 * * * *"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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 "github-action@users.noreply.github.com"
- 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 }}