Skip to content

Commit 596b6e0

Browse files
authored
[ci] Release from ref instead of branch name (#1328)
The branch may have been updated since the ci started, so we need to use the full ref instead of the branch name.
1 parent c8741e5 commit 596b6e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ jobs:
135135
uses: ncipollo/release-action@v1
136136
with:
137137
tag: v${{ env.hxcpp_release }}
138-
commit: ${{ github.head_ref }}
138+
commit: ${{ github.ref }}
139139
name: Release ${{ env.hxcpp_release }}
140140
draft: false
141141
prerelease: false
142-
artifacts: ./hxcpp-${{ env.hxcpp_release }}.zip
142+
artifacts: ./hxcpp-${{ env.hxcpp_release }}.zip

0 commit comments

Comments
 (0)