Skip to content

Commit c68fc6a

Browse files
committed
Use tag for release action
1 parent 8136558 commit c68fc6a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ on:
88
required: true
99
default: '1.0.0'
1010
type: string
11-
commit:
12-
description: "Commit Ref"
11+
tag:
12+
description: "Tag"
1313
required: true
14+
default: 'v1.0.0'
1415
type: string
1516

1617
jobs:
@@ -34,6 +35,8 @@ jobs:
3435

3536
steps:
3637
- uses: actions/checkout@v3
38+
with:
39+
ref: ${{ inputs.tag }}
3740

3841
- uses: actions/setup-java@v3
3942
with:
@@ -74,7 +77,7 @@ jobs:
7477
- uses: ncipollo/release-action@v1
7578
with:
7679
name: v${{ inputs.version }}
77-
commit: ${{ inputs.commit }}
80+
tag: ${{ inputs.tag }}
7881
artifacts: "pkgs/HelixNavigator-${{ inputs.version }}.*"
7982
draft: true
8083
prerelease: true

0 commit comments

Comments
 (0)