Skip to content

Commit 41395b9

Browse files
authored
Update GitHub Actions to use latest action versions
1 parent 40f827f commit 41395b9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build-python-wheels.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ jobs:
6666

6767
steps:
6868
- name: Checkout source code
69-
uses: actions/checkout@v4
69+
uses: actions/checkout@v6
7070

7171
- name: Setup Python
72-
uses: actions/setup-python@v5
72+
uses: actions/setup-python@v6
7373
with:
7474
python-version: ${{ matrix.python-version }}
7575
cache: "pip"
@@ -87,7 +87,7 @@ jobs:
8787
# For cross-compile x86 on GitHub arm64 runner
8888

8989
- name: Build Python wheels
90-
uses: pypa/cibuildwheel@v2.21.3
90+
uses: pypa/cibuildwheel@v3
9191
with:
9292
package-dir: nlpo3-python
9393
output-dir: wheelhouse
@@ -113,7 +113,7 @@ jobs:
113113
CIBW_ARCHS_WINDOWS: "AMD64 x86"
114114

115115
- name: Store artifacts
116-
uses: actions/upload-artifact@v3
116+
uses: actions/upload-artifact@v6
117117
with:
118118
path: ./wheelhouse/*.whl
119119

@@ -124,9 +124,9 @@ jobs:
124124
if: needs.check_build_trigger.outputs.build
125125
steps:
126126
- name: Checkout source code
127-
uses: actions/checkout@v4
127+
uses: actions/checkout@v6
128128
- name: Setup Python
129-
uses: actions/setup-python@v5
129+
uses: actions/setup-python@v6
130130
with:
131131
python-version: "3.13"
132132
cache: "pip"
@@ -135,7 +135,7 @@ jobs:
135135
cd nlpo3-python
136136
bash ../build_tools/github/build_source.sh
137137
- name: Store artifacts
138-
uses: actions/upload-artifact@v3
138+
uses: actions/upload-artifact@v6
139139
with:
140140
path: nlpo3-python/dist/*.tar.gz
141141

@@ -149,12 +149,12 @@ jobs:
149149
#if: github.event_name == 'push' && startsWith(github.event.ref, 'v')
150150
steps:
151151
- name: Retrieve artifacts
152-
uses: actions/download-artifact@v3
152+
uses: actions/download-artifact@v6
153153
with:
154154
name: artifact
155155
path: dist
156156
- name: Publish package
157-
uses: pypa/gh-action-pypi-publish@v1.12.2
157+
uses: pypa/gh-action-pypi-publish@v1
158158
with:
159159
skip-existing: true
160160
user: __token__

0 commit comments

Comments
 (0)