Skip to content

Commit af3b6d5

Browse files
committed
ci: add check for pack and upload artifacts when custom tag is provided
1 parent 8c894eb commit af3b6d5

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
@@ -787,12 +787,12 @@ jobs:
787787

788788
- name: Pack artifacts
789789
id: pack_artifacts
790-
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
790+
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' || github.event.inputs.custom_tag != '' }}
791791
run: |
792792
zip --symlinks -r llama-${{ needs.determine-tag.outputs.tag_name }}-xcframework.zip build-apple/llama.xcframework
793793
794794
- name: Upload artifacts
795-
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
795+
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' || github.event.inputs.custom_tag != '' }}
796796
uses: actions/upload-artifact@v4
797797
with:
798798
path: llama-${{ needs.determine-tag.outputs.tag_name }}-xcframework.zip

0 commit comments

Comments
 (0)