We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bca145e commit 4bb3590Copy full SHA for 4bb3590
.github/workflows/release.yaml
@@ -6,7 +6,7 @@ on:
6
7
jobs:
8
publish_to_test_pypi:
9
- if: startsWith(github.ref_name, 'release/')
+ if: startsWith(github.ref, 'refs/heads/release/')
10
runs-on: ubuntu-latest
11
steps:
12
- uses: actions/checkout@v4
@@ -18,7 +18,7 @@ jobs:
18
FLIT_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
19
20
publish_to_real_pypi:
21
- if: github.ref_name == 'main'
+ if: github.ref == 'refs/heads/main'
22
23
24
0 commit comments