Skip to content

Commit a4caa2f

Browse files
committed
add testpypi branch trigger
1 parent 96ef18e commit a4caa2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: GitHub CI
55

66
on:
77
push:
8-
branches: [ main, dev, release ]
8+
branches: [ main, dev, release, testpypi ]
99
tags:
1010
- '*'
1111
pull_request:
@@ -261,7 +261,7 @@ jobs:
261261
url: https://test.pypi.org/project/wntr
262262
permissions:
263263
id-token: write
264-
if: github.event_name == 'workflow_dispatch'
264+
if: github.event_name == 'push' && github.ref == 'refs/heads/testpypi'
265265
steps:
266266
- name: Download wheel artifacts
267267
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)