From e1a24e0edd31a5ba6c90e3f59ba688aa6458f23c Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Thu, 26 Mar 2026 16:39:44 +0000 Subject: [PATCH] [ci] Release from ref instead of branch name The branch may have been updated since the ci started, so we need to use the full ref instead of the branch name. --- .github/workflows/package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index a04277911..0c61c65dc 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -135,8 +135,8 @@ jobs: uses: ncipollo/release-action@v1 with: tag: v${{ env.hxcpp_release }} - commit: ${{ github.head_ref }} + commit: ${{ github.ref }} name: Release ${{ env.hxcpp_release }} draft: false prerelease: false - artifacts: ./hxcpp-${{ env.hxcpp_release }}.zip \ No newline at end of file + artifacts: ./hxcpp-${{ env.hxcpp_release }}.zip