We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c37ce7 commit a7f6addCopy full SHA for a7f6add
2 files changed
.github/workflows/publish.yml
.github/workflows/tag.yml
@@ -1,11 +1,8 @@
1
name: tag
2
3
on:
4
- workflow_run:
5
- workflows: ['test']
6
- branches: [main]
7
- types:
8
- - completed
+ push:
+ branches: [ main ]
9
10
permissions:
11
contents: read
@@ -34,3 +31,24 @@ jobs:
34
31
with:
35
32
github_token: ${{ steps.generate-token.outputs.token }}
36
33
actor: x-access-token
+
+ # setup the repository
+ - uses: actions/setup-python@v5
37
+ with:
38
+ python-version: 3.12
39
40
+ - name: Install uv
41
+ uses: astral-sh/setup-uv@v4
42
43
+ - run: |
44
+ uv venv
45
+ uv sync
46
+ source .venv/bin/activate
47
48
+ - run: echo "$PWD/.venv/bin" >> $GITHUB_PATH
49
50
+ - name: Build
51
+ run: uv build
52
53
+ - name: Publish
54
+ run: uv publish
0 commit comments