Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

jobs:
build:
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/build-backend-module.yml@main
with:
java_versions: '["8", "11", "17", "21", "25"]'
main_java_version: '8'
secrets:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }}
MAVEN_REPO_API_KEY: ${{ secrets.MAVEN_REPO_API_KEY }}
30 changes: 0 additions & 30 deletions .github/workflows/maven.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version (e.g., 1.3.3)'
required: true
development_version:
description: 'Next development version (e.g., 1.4.0-SNAPSHOT)'
required: true
branch:
description: 'Branch to release from (e.g., master)'
required: false
default: 'master'

jobs:
release:
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/release-backend-module.yml@main
permissions:
contents: write
with:
release_version: ${{ inputs.release_version }}
development_version: ${{ inputs.development_version }}
branch: ${{ inputs.branch }}
java_version: '8'
secrets:
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }}
MAVEN_REPO_API_KEY: ${{ secrets.MAVEN_REPO_API_KEY }}
BOT_PAT: ${{ secrets.BOT_PAT }}
Loading