mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
test #459: only run GHA pipeline build and publish jobs on main
This commit is contained in:
1
.github/workflows/ci-cd.yml
vendored
1
.github/workflows/ci-cd.yml
vendored
@@ -76,6 +76,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build distributions
|
name: Build distributions
|
||||||
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [test-summary]
|
needs: [test-summary]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user