publish.yaml
This file
Path
.github/workflows/publish.yaml
62 lines · 2.0 KiB · YAML
Last changed by
Merge branch 'stable'David Lordbefore adoption6a2f545
History of this fileTake it
The walk stopped after 200 commits: lines older than 73739a2 point at it.
Merge branch '2.2.x'David Lordbefore adoption73739a2
lines 1–3why, one step back1name: Publish2on:3 push:Merge branch 'stable'David Lordbefore adoptionbc14349
line 4why, one step back4 tags: ['*']Merge branch 'stable'David Lordbefore adoption4cae5d8
lines 5–8why, one step back5permissions: {}6concurrency:7 group: publish-${{ github.event.push.ref }}8 cancel-in-progress: trueMerge branch '2.2.x'David Lordbefore adoption73739a2
lines 9–11why, one step back9jobs:10 build:11 runs-on: ubuntu-latestMerge branch 'stable'David Lordbefore adoption3301232
lines 12–13why, one step back12 outputs:13 artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}Merge branch '2.2.x'David Lordbefore adoption73739a2
line 14why, one step back14 steps:Merge branch 'stable'David Lordbefore adoption6a2f545
line 15why, one step back15 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1Merge branch 'stable'David Lordbefore adoptionbc14349
line 16why, one step back16 with:Merge branch 'stable'David Lordbefore adoption3301232
line 17why, one step back17 persist-credentials: falseMerge branch 'stable'David Lordbefore adoption6a2f545
line 18why, one step back18 - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0Merge branch 'stable'David Lordbefore adoption3301232
line 19why, one step back19 with:Merge branch 'stable'David Lordbefore adoption4cae5d8
line 20why, one step back20 enable-cache: falseMerge branch 'stable'David Lordbefore adoptionbc14349
line 21why, one step back21 prune-cache: falseMerge branch 'stable'David Lordbefore adoption6a2f545
line 22why, one step back22 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0Merge branch '2.2.x'David Lordbefore adoption73739a2
line 23why, one step back23 with:Merge branch 'stable'David Lordbefore adoptionbc14349
line 24why, one step back24 python-version-file: pyproject.tomlMerge branch '2.2.x'David Lordbefore adoption73739a2
line 25why, one step back25 - run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENVMerge branch 'stable'David Lordbefore adoptionbc14349
line 26why, one step back26 - run: uv buildMerge branch 'stable'David Lordbefore adoption6a2f545
line 27why, one step back27 - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1Merge branch 'stable'David Lordbefore adoption3301232
line 28why, one step back28 id: upload-artifactMerge branch '2.2.x'David Lordbefore adoption73739a2
line 29why, one step back29 with:Merge branch 'stable'David Lordbefore adoption3301232
lines 30–32why, one step back30 name: dist31 path: dist/32 if-no-files-found: errorMerge branch '2.2.x'David Lordbefore adoption73739a2
line 33why, one step back33 create-release:Merge branch 'stable'David Lordbefore adoptione974128
line 34why, one step back34 needs: [build]Merge branch '2.2.x'David Lordbefore adoption73739a2
lines 35–38why, one step back35 runs-on: ubuntu-latest36 permissions:37 contents: write38 steps:Merge branch 'stable'David Lordbefore adoptione4e4bf6
line 39why, one step back39 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1Merge branch 'stable'David Lordbefore adoption3301232
lines 40–42why, one step back40 with:41 artifact-ids: ${{ needs.build.outputs.artifact-id }}42 path: dist/Merge branch '2.2.x'David Lordbefore adoption73739a2
line 43why, one step back43 - name: create releaseMerge branch 'stable'David Lordbefore adoption4cae5d8
line 44why, one step back44 run: gh release create --draft --repo ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} dist/*Merge branch '2.2.x'David Lordbefore adoption73739a2
lines 45–47why, one step back45 env:46 GH_TOKEN: ${{ github.token }}47 publish-pypi:Merge branch 'stable'David Lordbefore adoptione974128
line 48why, one step back48 needs: [build]Use per-release URLs in GH env UI when publishing to the PyPI (#5423)David Lordbefore adoption98a7f9f
lines 49–50why, one step back49 environment:50 name: publishMerge branch '3.0.x'David Lordbefore adoption6ab71ed
line 51why, one step back51 url: https://pypi.org/project/Flask/${{ github.ref_name }}Merge branch '2.2.x'David Lordbefore adoption73739a2
lines 52–55why, one step back52 runs-on: ubuntu-latest53 permissions:54 id-token: write55 steps:Merge branch 'stable'David Lordbefore adoptione4e4bf6
line 56why, one step back56 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1Merge branch 'stable'David Lordbefore adoption3301232
lines 57–59why, one step back57 with:58 artifact-ids: ${{ needs.build.outputs.artifact-id }}59 path: dist/Merge branch 'stable'David Lordbefore adoption6a2f545
line 60why, one step back60 - uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2Merge branch '2.2.x'David Lordbefore adoption73739a2
line 61why, one step back61 with:Merge branch 'stable'David Lordbefore adoption3301232
line 62why, one step back62 packages-dir: "dist/"