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
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
create:
|
create:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
|
|
@ -267,7 +268,7 @@ jobs:
|
||||||
- musllinux
|
- musllinux
|
||||||
- musllinux-cross
|
- musllinux-cross
|
||||||
- pypy
|
- pypy
|
||||||
if: "startsWith(github.ref, 'refs/tags/')"
|
if: "github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/')"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue