Skip to content

Commit 4bb3590

Browse files
committed
ci: fix release gha
1 parent bca145e commit 4bb3590

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
publish_to_test_pypi:
9-
if: startsWith(github.ref_name, 'release/')
9+
if: startsWith(github.ref, 'refs/heads/release/')
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v4
@@ -18,7 +18,7 @@ jobs:
1818
FLIT_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
1919

2020
publish_to_real_pypi:
21-
if: github.ref_name == 'main'
21+
if: github.ref == 'refs/heads/main'
2222
runs-on: ubuntu-latest
2323
steps:
2424
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)