Skip to content

Commit e69ffcb

Browse files
committed
yaml
1 parent de08ccf commit e69ffcb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- "v[0-9]+.[0-9]+.[0-9]+"
77
workflow_dispatch:
88
inputs:
9+
tag:
10+
description: 'Tag'
11+
required: true
12+
default: 'refs/tags/v0.0.0'
913
upload_to_maven:
1014
description: 'Upload to Maven'
1115
required: false
@@ -27,7 +31,9 @@ jobs:
2731
java: [ '8' ]
2832
name: Java ${{ matrix.java }}
2933
steps:
30-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
35+
with:
36+
ref: ${{ github.event.inputs.tag || github.ref }}
3137
- name: Setup java ${{ matrix.java }}
3238
uses: actions/setup-java@v3
3339
with:
@@ -57,7 +63,7 @@ jobs:
5763
cp data/.flattened-pom.xml staging/kusto-data-$version.pom
5864
cp ingest/.flattened-pom.xml staging/kusto-ingest-$version.pom
5965
- name: Github Release
60-
uses: anton-yurchenko/git-release@v5.0.1
66+
uses: anton-yurchenko/git-release@v6.0.0
6167
env:
6268
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6369
with:

0 commit comments

Comments
 (0)