mirror of
https://github.com/copier-org/copier.git
synced 2025-05-05 15:32:54 +00:00
ci(release): publish to test.pypi.org on pushing to master
branch
This commit is contained in:
parent
e6b0a4dc86
commit
f82a0a5194
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
@ -2,6 +2,7 @@ name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
tags: ["*"]
|
||||
|
||||
env:
|
||||
@ -37,7 +38,7 @@ jobs:
|
||||
name: Publish package distributions to test.pypi.org
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
|
||||
environment:
|
||||
name: pypi-test
|
||||
url: https://test.pypi.org/p/copier
|
||||
|
Loading…
x
Reference in New Issue
Block a user