Skip to content

Commit 8136558

Browse files
committed
Added commit ref as input and dep build->release
1 parent 3b07929 commit 8136558

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
required: true
99
default: '1.0.0'
1010
type: string
11+
commit:
12+
description: "Commit Ref"
13+
required: true
14+
type: string
1115

1216
jobs:
1317
build:
@@ -56,6 +60,7 @@ jobs:
5660
path: app/build/package
5761

5862
release:
63+
needs: build
5964
name: Release
6065
runs-on: ubuntu-22.04
6166

@@ -69,6 +74,7 @@ jobs:
6974
- uses: ncipollo/release-action@v1
7075
with:
7176
name: v${{ inputs.version }}
77+
commit: ${{ inputs.commit }}
7278
artifacts: "pkgs/HelixNavigator-${{ inputs.version }}.*"
7379
draft: true
7480
prerelease: true

0 commit comments

Comments
 (0)