publish.yaml
This file
Path
.github/workflows/publish.yaml
47 lines · 1.5 KiB · YAML
Last changed by
History of this fileTake it
Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 1–3why, one step back1name: Publish2on:3 push:Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
line 4why, one step back4 tags: ['*']Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 5–8why, one step back5jobs:6 build:7 runs-on: ubuntu-latest8 steps:Merge branch 'stable'David Lordbefore adoptionee6c734
line 9why, one step back9 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
line 10why, one step back10 - uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6.1.0Merge branch '3.1.x'David Lordbefore adoption96a83e9
line 11why, one step back11 with:Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
lines 12–16why, one step back12 enable-cache: true13 prune-cache: false14 - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.015 with:16 python-version-file: pyproject.tomlMerge branch '3.1.x'David Lordbefore adoption96a83e9
line 17why, one step back17 - run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENVUpdated dependency management to uv (#2093)David Lordbefore adoption05f5d74
lines 18–19why, one step back18 - run: uv build19 - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 20–22why, one step back20 with:21 path: ./dist22 create-release:23 needs: [build]Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 24–27why, one step back24 runs-on: ubuntu-latest25 permissions:26 contents: write27 steps:Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
line 28why, one step back28 - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 29–31why, one step back29 - name: create release30 run: >31 gh release create --draft --repo ${{ github.repository }}32 ${{ github.ref_name }} artifact/*Merge branch '3.1.x'David Lordbefore adoption96a83e9
lines 33–35why, one step back33 env:34 GH_TOKEN: ${{ github.token }}35 publish-pypi:36 needs: [build]Merge branch '3.1.x'David Lordbefore adoptionde61312
lines 37–39why, one step back37 environment:38 name: publish39 url: https://pypi.org/project/Jinja2/${{ github.ref_name }}Merge branch '3.1.x'David Lordbefore adoption96a83e9
line 40why, one step back40 runs-on: ubuntu-latestMerge branch '3.1.x'David Lordbefore adoption3fd91e4
lines 41–42why, one step back41 permissions:42 id-token: writeMerge branch '3.1.x'David Lordbefore adoption96a83e9
line 43why, one step back43 steps:Updated dependency management to uv (#2093)David Lordbefore adoption05f5d74
lines 44–45why, one step back44 - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.045 - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4Merge branch '3.1.x'David Lordbefore adoption96a83e9
line 46why, one step back46 with:Revert "upload/download-artifact v4"David Lordbefore adoption2a17038
line 47why, one step back47 packages-dir: artifact/