File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1041,7 +1041,7 @@ jobs:
10411041
10421042 - name : Build the release package
10431043 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' }}
10451045 run : |
10461046 echo "cp oneAPI running time dll files in ${{ env.ONEAPI_ROOT }} to ./build/bin"
10471047
@@ -1066,7 +1066,7 @@ jobs:
10661066 7z a llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip ./build/bin/*
10671067
10681068 - 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' }}
10701070 uses : actions/upload-artifact@v4
10711071 with :
10721072 path : llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip
You can’t perform that action at this time.
0 commit comments