File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,15 @@ jobs:
2828 uses : actions/upload-artifact@v4
2929 with :
3030 name : pyproject-toml
31- path : pyproject.toml
31+ path : |
32+ pyproject.toml
33+ flask_cors/version.py
3234
3335 publish :
3436 runs-on : ubuntu-latest
37+ environment : release
38+ permissions :
39+ id-token : write # this permission is mandatory for trusted publishing
3540 needs : [set-version]
3641 steps :
3742 - name : Check out
@@ -44,12 +49,13 @@ jobs:
4449 uses : actions/download-artifact@v4
4550 with :
4651 name : pyproject-toml
47-
52+ - name : Cat files
53+ run : cat pyproject.toml && cat flask_cors/version.py
4854 - name : Build package
4955 run : uv build
5056
5157 - name : Publish package
52- run : uv publish
58+ run : uv publish --trusted-publishing
5359
5460 deploy-docs :
5561 needs : publish
You can’t perform that action at this time.
0 commit comments