gha: Fix master branch check

This commit is contained in:
TSRBerry
2022-12-15 17:24:53 +01:00
committed by GitHub
parent dfea3f9e45
commit 81baee2b1c

View File

@@ -416,7 +416,7 @@ jobs:
- name: Package .NET distribution
working-directory: bindings/dotnet/UnicornEngine
run: |
[[ "${{ github.event.workflow_run.head_branch }}" == "master" ]] \
[[ "${{ github.ref_name }}" == "master" ]] \
&& dotnet pack -c Release \
|| dotnet pack -c Release --version-suffix="${{ steps.git_short_sha.outputs.result }}"