ci(publish): bump actions off deprecated Node 20 runtimes (#18)
GitHub is deprecating the Node 20 action runtime; checkout@v4, setup-python@v5, and upload/download-artifact@v4 all run on it and were being auto-forced to Node 24 with a warning. Bump each to its current major (checkout@v7, setup-python@v7, upload-artifact@v7, download-artifact@v8), all of which run natively on Node 24.
This commit is contained in:
1 parent
b7f2f20f29
commit
e0622eb087
1 file changed
+4
-4
@@ -15,10 +15,10 @@ jobs:
|
|||||||
name: Build sdist + wheel
|
name: Build sdist + wheel
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # hatch-vcs needs full history + tags to derive the version
|
fetch-depth: 0 # hatch-vcs needs full history + tags to derive the version
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v7
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
- run: python -m pip install --upgrade build
|
- run: python -m pip install --upgrade build
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
if ! ls dist/ | grep -q "smartthings_local-${version}"; then
|
if ! ls dist/ | grep -q "smartthings_local-${version}"; then
|
||||||
echo "Built artifacts do not match tag version ${version}"; exit 1
|
echo "Built artifacts do not match tag version ${version}"; exit 1
|
||||||
fi
|
fi
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v7
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist/
|
path: dist/
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
id-token: write # required for Trusted Publishing (OIDC)
|
id-token: write # required for Trusted Publishing (OIDC)
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
path: dist/
|
path: dist/
|
||||||
|
|||||||
Reference in new issue
Block a user