gha: Fix master branch check
This commit is contained in:
parent
dfea3f9e45
commit
81baee2b1c
2
.github/workflows/Nuget-publishing.yml
vendored
2
.github/workflows/Nuget-publishing.yml
vendored
@ -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 }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user