Skip to content

Commit dff4781

Browse files
committed
chore: update shared files
Automated update of shared files from the social-core repository, see https://github.com/python-social-auth/.github/blob/main/repo-sync.py
1 parent 7df6164 commit dff4781

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Release
22

33
on:
4-
release:
5-
types: [published]
64
push:
75
pull_request:
86

@@ -30,7 +28,7 @@ jobs:
3028
uv pip install dist/*.tar.gz
3129
3230
- uses: actions/upload-artifact@v4
33-
if: github.event_name == 'release'
31+
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
3432
with:
3533
name: dist
3634
path: |
@@ -39,5 +37,5 @@ jobs:
3937
4038
- run: uvx twine check dist/*
4139

42-
- if: github.event_name == 'release'
40+
- if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
4341
run: uv publish --verbose --verbose --trusted-publishing always

0 commit comments

Comments
 (0)