Skip to content

Commit 1d9c212

Browse files
chore: allow to dispatch publish with tag override (#4014)
1 parent ba85705 commit 1d9c212

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@ name: ci
22
concurrency:
33
group: publish-${{ github.github.base_ref }}
44
cancel-in-progress: true
5-
on: [push]
5+
on:
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
description: override release tag
10+
required: false
11+
push:
612
jobs:
713
test-and-publish:
814
if: github.repository == 'TanStack/query' && github.event_name != 'pull_request'
@@ -28,3 +34,4 @@ jobs:
2834
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2935
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3036
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
37+
TAG: ${{ inputs.tag }}

0 commit comments

Comments
 (0)