Skip to content

Commit d8713d7

Browse files
committed
ci: update Python setup and artifact actions in workflows
1 parent 393fca1 commit d8713d7

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222
name: ⬇️ Checkout repository
23-
- uses: actions/setup-python@v5.1.1
23+
- uses: actions/setup-python@v5
2424
name: 📦 Setup Python
2525
with:
2626
python-version: "3.9"
@@ -31,7 +31,7 @@ jobs:
3131
pip install -r requirements.txt
3232
- name: 🏗 Build release
3333
run: python -m build
34-
- uses: actions/upload-artifact@v4.3.6
34+
- uses: actions/upload-artifact@v4
3535
name: 📤 Upload artifact
3636
with:
3737
name: release
@@ -47,12 +47,12 @@ jobs:
4747
name: pypi
4848
url: https://pypi.org/project/geothai
4949
steps:
50-
- uses: actions/download-artifact@v4.1.8
50+
- uses: actions/download-artifact@v4
5151
name: 📥 Download artifact
5252
with:
5353
name: release
5454
path: dist/
55-
- uses: pypa/gh-action-pypi-publish@v1.9.0
55+
- uses: pypa/gh-action-pypi-publish@v1.12.4
5656
name: 🚀 Publish package
5757
with:
5858
user: __token__
@@ -66,7 +66,7 @@ jobs:
6666
contents: write
6767
id-token: write
6868
steps:
69-
- uses: actions/download-artifact@v4.1.8
69+
- uses: actions/download-artifact@v4
7070
name: 📥 Download artifact
7171
with:
7272
name: release

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v4
1212
name: ⬇️ Checkout repository
13-
- uses: actions/setup-python@v5.1.1
13+
- uses: actions/setup-python@v5
1414
name: 📦 Setup Python
1515
with:
1616
python-version: "3.9"

0 commit comments

Comments
 (0)