File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,7 @@ jobs:
1041
1041
1042
1042
- name : Build the release package
1043
1043
id : pack_artifacts
1044
- if : ${{ ( github.event_name == 'pull_request ' && github.base_ref == 'master' ) }}
1044
+ if : ${{ ( github.event_name == 'push ' && github.ref == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true' }}
1045
1045
run : |
1046
1046
echo "cp oneAPI running time dll files in ${{ env.ONEAPI_ROOT }} to ./build/bin"
1047
1047
@@ -1066,7 +1066,7 @@ jobs:
1066
1066
7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/*
1067
1067
1068
1068
- name : Upload the release package
1069
- if : ${{ ( github.event_name == 'pull_request ' && github.base_ref == 'master' ) }}
1069
+ if : ${{ ( github.event_name == 'push ' && github.ref == 'refs/heads/ master' ) || github.event.inputs.create_release == 'true' }}
1070
1070
uses : actions/upload-artifact@v4
1071
1071
with :
1072
1072
path : llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip
You can’t perform that action at this time.
0 commit comments