Skip to content

Commit 950b804

Browse files
committed
allow re-generate any version
1 parent 7578bc4 commit 950b804

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-tzpb.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: build-tzpb
33
on:
44
push:
55
branches: [main]
6+
workflow_dispatch:
7+
inputs:
8+
timezone-boundary-version:
9+
description: "Timezone boundary version to use"
10+
required: false
11+
default: "2025b"
612

713
jobs:
814
build-tzpb-pipeline:
@@ -21,6 +27,11 @@ jobs:
2127
run: |
2228
go run ./cmd/checkboundaryrelease/main.go >> $GITHUB_OUTPUT
2329
30+
- name: Set tag when provided
31+
if: ${{ github.event.inputs.timezone-boundary-version != '' }}
32+
run: |
33+
echo TIMEZONE_BOUNDARY_VERSION=${{ github.event.inputs.timezone-boundary-version }} >> $GITHUB_ENV
34+
2435
- name: Set env
2536
run: |
2637
echo TIMEZONE_BOUNDARY_VERSION=${{ steps.set-latest-version.outputs.TIMEZONE_BOUNDARY_VERSION }} >> $GITHUB_ENV

0 commit comments

Comments
 (0)