Skip to content
Myr

publish.yaml

This file

Path

.github/workflows/publish.yaml

59 lines · 1.9 KiB · YAML

Last changed by

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

History of this file

Take it

The walk stopped after 200 commits: lines older than 9ce34f2 point at it.

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 1–4why, one step back
1name: Publish
2on:3 push:4 tags: ['*']

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

lines 5–8why, one step back
5permissions: {}
6concurrency:7 group: publish-${{ github.event.push.ref }}8 cancel-in-progress: true

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 9–11why, one step back
9jobs:
10 build:11 runs-on: ubuntu-latest

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

lines 12–13why, one step back
12 outputs:
13 artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

line 14why, one step back
14 steps:

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

line 15why, one step back
15 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

line 16why, one step back
16 with:

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

line 17why, one step back
17 persist-credentials: false

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

line 18why, one step back
18 - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

line 19why, one step back
19 with:

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

line 20why, one step back
20 enable-cache: false

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

line 21why, one step back
21 - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 22–25why, one step back
22 with:
23 python-version-file: pyproject.toml24 - run: echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV25 - run: uv build

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

line 26why, one step back
26 - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

line 27why, one step back
27 id: upload-artifact

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

line 28why, one step back
28 with:

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

lines 29–31why, one step back
29 name: dist
30 path: dist/31 if-no-files-found: error

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

line 32why, one step back
32 create-release:

remove slsa provenance (#2973)David Lordbefore adoption5e2e191

line 33why, one step back
33 needs: [build]

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 34–37why, one step back
34 runs-on: ubuntu-latest
35 permissions:36 contents: write37 steps:

update dev dependenciesDavid Lordbefore adoption04ef3a6

line 38why, one step back
38 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

lines 39–41why, one step back
39 with:
40 artifact-ids: ${{ needs.build.outputs.artifact-id }}41 path: dist/

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

line 42why, one step back
42 - name: create release

add zizmor to scan workflows (#3304)David Lordbefore adoptiona9e62f5

line 43why, one step back
43 run: gh release create --draft --repo ${GITHUB_REPOSITORY} ${GITHUB_REF_NAME} dist/*

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 44–46why, one step back
44 env:
45 GH_TOKEN: ${{ github.token }}46 publish-pypi:

remove slsa provenance (#2973)David Lordbefore adoption5e2e191

line 47why, one step back
47 needs: [build]

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 48–49why, one step back
48 environment:
49 name: publish

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

line 50why, one step back
50 url: https://pypi.org/project/Click/${{ github.ref_name }}

Make faqs section. Add the first question about windows shell expansion. (#2927)Rowlando13before adoption9ce34f2

lines 51–54why, one step back
51 runs-on: ubuntu-latest
52 permissions:53 id-token: write54 steps:

update dev dependenciesDavid Lordbefore adoption04ef3a6

line 55why, one step back
55 - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1

Change publish to werkzeug latest. (#3301)Rowlando13before adoptiona0a37e4

lines 56–58why, one step back
56 with:
57 artifact-ids: ${{ needs.build.outputs.artifact-id }}58 path: dist/

Update all GitHub actions (#3721)Rowlando13before adoption5aa8ac4

line 59why, one step back
59 - uses: pypa/gh-action-pypi-publish@ba38be9e461d3875417946c167d0b5f3d385a247 # v1.14.1