-
Notifications
You must be signed in to change notification settings - Fork 59
33 lines (31 loc) · 1017 Bytes
/
release.yml
File metadata and controls
33 lines (31 loc) · 1017 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
31
32
33
name: Release
on:
workflow_dispatch:
inputs:
release_version:
description: 'Release version (e.g., 1.3.3)'
required: true
type: string
development_version:
description: 'Next development version (e.g., 1.4.0-SNAPSHOT)'
required: true
type: string
branch:
description: 'Branch to release from'
required: false
type: string
default: 'master'
jobs:
release:
name: Release
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/release-backend-module.yml@main
with:
release_version: ${{ inputs.release_version }}
development_version: ${{ inputs.development_version }}
branch: ${{ inputs.branch }}
secrets:
MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }}
MAVEN_REPO_API_KEY: ${{ secrets.MAVEN_REPO_API_KEY }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
BOT_PAT: ${{ secrets.BOT_PAT }}