We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4a3555 commit b071d0bCopy full SHA for b071d0b
.github/workflows/publish.yml
@@ -2,15 +2,23 @@ name: Publish package to the Maven Central Repository
2
on:
3
release:
4
types: [created]
5
+ workflow_dispatch:
6
+ branches: [master]
7
+ inputs:
8
+ release_tag:
9
+ description: 'Tag to publish (e.g. v10.1.0). Use for re-publishing a release.'
10
+ required: true
11
jobs:
12
publish:
13
runs-on: ubuntu-latest
14
steps:
15
- uses: actions/checkout@v6
16
+ with:
17
+ ref: ${{ github.event_name == 'workflow_dispatch' && format('refs/tags/{0}', inputs.release_tag) || github.ref }}
18
- name: Set up Java
19
uses: actions/setup-java@v5
20
with:
- java-version: '11'
21
+ java-version: '17'
22
distribution: 'zulu'
23
24
- name: Setup Gradle
0 commit comments