gha: Fix master branch check
This commit is contained in:
2
.github/workflows/Nuget-publishing.yml
vendored
2
.github/workflows/Nuget-publishing.yml
vendored
@@ -416,7 +416,7 @@ jobs:
|
|||||||
- name: Package .NET distribution
|
- name: Package .NET distribution
|
||||||
working-directory: bindings/dotnet/UnicornEngine
|
working-directory: bindings/dotnet/UnicornEngine
|
||||||
run: |
|
run: |
|
||||||
[[ "${{ github.event.workflow_run.head_branch }}" == "master" ]] \
|
[[ "${{ github.ref_name }}" == "master" ]] \
|
||||||
&& dotnet pack -c Release \
|
&& dotnet pack -c Release \
|
||||||
|| dotnet pack -c Release --version-suffix="${{ steps.git_short_sha.outputs.result }}"
|
|| dotnet pack -c Release --version-suffix="${{ steps.git_short_sha.outputs.result }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user