Skip to content

Commit 918c7a0

Browse files
ci: Allow release pipeline to use custom branch (#113)
1 parent ea1ea22 commit 918c7a0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
next:
1010
description: "Next version"
1111
required: false
12+
branch:
13+
description: "The branch to use when releasing"
14+
required: true
15+
default: "master"
16+
type: string
1217

1318
jobs:
1419
release:
@@ -17,6 +22,7 @@ jobs:
1722
- uses: actions/checkout@v3
1823
with:
1924
fetch-depth: 0
25+
ref: ${{ github.event.inputs.branch }}
2026
- name: Set release version
2127
env:
2228
RELEASE_VERSION: ${{ github.event.inputs.version }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<properties>
3333
<maven.compiler.source>17</maven.compiler.source>
3434
<maven.compiler.target>17</maven.compiler.target>
35-
<maven.compiler.release>11</maven.compiler.release>
35+
<maven.compiler.release>17</maven.compiler.release>
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
3838

0 commit comments

Comments
 (0)