8000 restore the condistion to build & update pacakge when merge (#10507) · arthw/llama.cpp@8da1d9c · GitHub
[go: up one dir, main page]

Skip to content

Commit 8da1d9c

Browse files
NeoZhangJianyuarthw
andcommitted
restore the condistion to build & update pacakge when merge (ggml-org#10507)
Co-authored-by: arthw <14088817+arthw@users.noreply.github.com>
1 parent e8a97f6 commit 8da1d9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
0