Skip to content

Commit 3285bf5

Browse files
committed
CI: Add manual trigger, bump action versions
1 parent 6a460b1 commit 3285bf5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: Python package
55

66
on:
7+
workflow_dispatch:
78
push:
89
branches: [ master ]
910
tags: [ '*' ]
@@ -23,13 +24,13 @@ jobs:
2324
outputs:
2425
version: ${{ steps.get_version.outputs.version }}
2526
steps:
26-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2728
with:
2829
fetch-depth: 0
29-
- uses: actions/setup-python@v4
30+
- uses: actions/setup-python@v5
3031
with:
3132
python-version: 3
32-
- uses: actions/cache@v3
33+
- uses: actions/cache@v4
3334
with:
3435
path: ~/.cache/pip
3536
key: pip-cache-v1
@@ -39,7 +40,7 @@ jobs:
3940
- name: Build sdist and wheel
4041
run: python -m build
4142
- run: twine check dist/*
42-
- uses: actions/upload-artifact@v3
43+
- uses: actions/upload-artifact@v4
4344
with:
4445
name: dist
4546
path: dist/
@@ -73,20 +74,20 @@ jobs:
7374
TEMPLATEFLOW_HOME: /tmp/home
7475
THISVERSION: ${{ needs.build.outputs.version }}
7576
steps:
76-
- uses: actions/checkout@v3
77+
- uses: actions/checkout@v4
7778
if: matrix.mode == 'repo' || matrix.mode == 'editable'
7879
with:
7980
fetch-depth: 0
80-
- uses: actions/download-artifact@v3
81+
- uses: actions/download-artifact@v4
8182
if: matrix.mode == 'sdist' || matrix.mode == 'wheel'
8283
with:
8384
name: dist
8485
path: /tmp/package/
8586
- name: Set up Python ${{ matrix.python-version }}
86-
uses: actions/setup-python@v4
87+
uses: actions/setup-python@v5
8788
with:
8889
python-version: ${{ matrix.python-version }}
89-
- uses: actions/cache@v3
90+
- uses: actions/cache@v4
9091
with:
9192
path: ~/.cache/pip
9293
key: pip-cache-v1

0 commit comments

Comments
 (0)