Skip to content

Commit e70ba5a

Browse files
committed
Allow dependency asset builds from tags
1 parent 623bda3 commit e70ba5a

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/heif-dependency.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build HEIF Dependency
22

33
on:
4+
push:
5+
tags:
6+
- "deps-libheif-*"
47
workflow_dispatch:
58
inputs:
69
triplet:
@@ -23,8 +26,8 @@ jobs:
2326
runs-on: windows-2022
2427

2528
env:
26-
HEIF_TRIPLET: ${{ inputs.triplet }}
27-
VCPKG_REF: ${{ inputs.vcpkg_ref }}
29+
HEIF_TRIPLET: ${{ inputs.triplet || 'x64-windows' }}
30+
VCPKG_REF: ${{ inputs.vcpkg_ref || 'aa40adda5352e87655b8583cfb2451d5e9e276fd' }}
2831

2932
steps:
3033
- name: Checkout

.github/workflows/opencv-dependency.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Build OpenCV Dependency
22

33
on:
4+
push:
5+
tags:
6+
- "deps-opencv-*"
47
workflow_dispatch:
58
inputs:
69
opencv_version:
@@ -18,7 +21,7 @@ jobs:
1821
runs-on: windows-2022
1922

2023
env:
21-
OPENCV_VERSION: ${{ inputs.opencv_version }}
24+
OPENCV_VERSION: ${{ inputs.opencv_version || '4.3.0' }}
2225

2326
steps:
2427
- name: Checkout

0 commit comments

Comments
 (0)