mirror of https://github.com/FreeCol/freecol.git
Allows release tag to be set when triggering manual build.
This commit is contained in:
parent
f40df0b0fd
commit
47dce71253
|
@ -3,6 +3,10 @@ name: Create Release Packages
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
release_tag:
|
||||
description: 'Release tag (tag/sha/branch)'
|
||||
required: true
|
||||
type: string
|
||||
release_version:
|
||||
description: 'Release version (x.y.z)'
|
||||
required: true
|
||||
|
@ -15,6 +19,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
ref: "${{ inputs.release_tag }}"
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
|
@ -43,6 +49,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
ref: "${{ inputs.release_tag }}"
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
|
@ -66,6 +74,8 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
ref: "${{ inputs.release_tag }}"
|
||||
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'temurin'
|
||||
|
|
Loading…
Reference in New Issue