Skip to content

Commit

Permalink
chore: update shared files
Browse files Browse the repository at this point in the history
Automated update of shared files from the social-core repository, see
https://github.com/python-social-auth/.github/blob/main/repo-sync.py
  • Loading branch information
nijel committed Feb 13, 2025
1 parent e803df9 commit a55070e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Release

on:
release:
types: [published]
push:
pull_request:

Expand Down Expand Up @@ -30,7 +28,7 @@ jobs:
uv pip install dist/*.tar.gz
- uses: actions/upload-artifact@v4
if: github.event_name == 'release'
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
with:
name: dist
path: |
Expand All @@ -39,5 +37,5 @@ jobs:
- run: uvx twine check dist/*

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

0 comments on commit a55070e

Please sign in to comment.