mirror of https://github.com/astral-sh/ruff
Build on every push but only publish on tags
This commit is contained in:
parent
ae27793b86
commit
e7ecb3200c
|
|
@ -1,6 +1,7 @@
|
|||
name: Release
|
||||
|
||||
on:
|
||||
push:
|
||||
create:
|
||||
tags:
|
||||
- v*
|
||||
|
|
@ -267,7 +268,7 @@ jobs:
|
|||
- musllinux
|
||||
- musllinux-cross
|
||||
- pypy
|
||||
if: "startsWith(github.ref, 'refs/tags/')"
|
||||
if: "github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')"
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue