Skip to content

Commit e803df9

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 b8ae24b commit e803df9

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,36 @@ on:
88

99
jobs:
1010
release:
11-
uses: python-social-auth/social-core/.github/workflows/release-shared.yml@master
12-
with:
13-
github_event_name: ${{ github.event_name }}
11+
runs-on: ubuntu-latest
1412
permissions:
1513
id-token: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: astral-sh/setup-uv@v5
17+
18+
- run: uv build
19+
20+
- name: Verify wheel install
21+
run: |
22+
uv venv venv-install-whl
23+
source venv-install-whl/bin/activate
24+
uv pip install dist/*.whl
25+
26+
- name: Verify source install
27+
run: |
28+
uv venv venv-install-tar
29+
source venv-install-tar/bin/activate
30+
uv pip install dist/*.tar.gz
31+
32+
- uses: actions/upload-artifact@v4
33+
if: github.event_name == 'release'
34+
with:
35+
name: dist
36+
path: |
37+
dist/*.tar.gz
38+
dist/*.whl
39+
40+
- run: uvx twine check dist/*
41+
42+
- if: github.event_name == 'release'
43+
run: uv publish --verbose --verbose --trusted-publishing always

0 commit comments

Comments
 (0)