Skip to content

Commit e51140f

Browse files
committed
style: format workflows
1 parent a4aea01 commit e51140f

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@ on:
99
types:
1010
- completed
1111
branches: [main]
12-
1312
permissions:
1413
contents: write
1514
pull-requests: write
16-
1715
name: Release tag
18-
1916
jobs:
2017
release-please:
2118
runs-on: ubuntu-latest
@@ -26,27 +23,22 @@ jobs:
2623
with:
2724
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
2825
release-type: python
29-
3026
- uses: actions/checkout@v4
3127
if: ${{ steps.release.outputs.release_created }}
3228
with:
3329
fetch-depth: 0
3430
ref: main
35-
3631
- name: Install uv
3732
if: ${{ steps.release.outputs.release_created }}
3833
uses: astral-sh/setup-uv@v5
39-
4034
- name: Configure Git
4135
if: ${{ steps.release.outputs.release_created }}
4236
run: |
4337
git config --local user.email "github-actions[bot]@users.noreply.github.com"
4438
git config --local user.name "github-actions[bot]"
45-
4639
- name: Update lock file
4740
if: ${{ steps.release.outputs.release_created }}
4841
run: uv lock
49-
5042
- name: Commit and push updated lock file
5143
if: ${{ steps.release.outputs.release_created }}
5244
run: |

.github/workflows/release-pypi.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: Release PyPI
2-
32
on:
43
push:
54
tags:
65
- v*
76
workflow_dispatch:
8-
97
jobs:
108
pypi:
119
name: Publish to PyPI
@@ -16,14 +14,11 @@ jobs:
1614
id-token: write
1715
steps:
1816
- uses: actions/checkout@v4
19-
2017
- name: Install uv
2118
uses: astral-sh/setup-uv@v5
22-
2319
- name: "Set up Python"
2420
uses: actions/setup-python@v5
2521
with:
2622
python-version-file: ".python-version"
27-
2823
- run: uv build
2924
- run: uv publish --trusted-publishing always

0 commit comments

Comments
 (0)