Skip to content

Commit 6481be4

Browse files
committed
Bump publish workflow actions for Node 24 deprecation
Node 20 actions are deprecated; runners force Node 24 on June 2, 2026 and remove Node 20 on September 16, 2026. Bump checkout and setup-python to their first node24 majors, and pin all three actions by full commit SHA for reproducible, audit-friendly references. - actions/checkout v4 -> v6.0.2 - actions/setup-python v5 -> v6.2.0 - pypa/gh-action-pypi-publish release/v1 -> v1.14.0
1 parent f738ef7 commit 6481be4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
id-token: write
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
fetch-depth: 0
2626
submodules: true
2727
- name: Set up Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: "3.x"
3131
- name: Install pypa/build
@@ -39,10 +39,10 @@ jobs:
3939
- name: Clean Wheel
4040
run: rm -rf dist/quarto_cli*.whl
4141
- name: Publish package distributions to TestPyPI
42-
uses: pypa/gh-action-pypi-publish@release/v1
42+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
4343
if: ${{ ! inputs.publish-release }}
4444
with:
4545
repository-url: https://test.pypi.org/legacy/
4646
- name: Publish package distributions to PyPI
47-
uses: pypa/gh-action-pypi-publish@release/v1
47+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
4848
if: ${{ inputs.publish-release }}

0 commit comments

Comments
 (0)