Skip to content

Commit 3e900cb

Browse files
Bump gh action versions
1 parent 0306246 commit 3e900cb

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,27 +36,27 @@ jobs:
3636

3737
steps:
3838
- name: Cache Geant4 install
39-
uses: actions/cache@v2
39+
uses: actions/cache@v3
4040
id: g4cache
4141
with:
4242
path: ${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}
4343
key: ${{ env.GEANT4_GIT_TAG }}-${{ env.XERCES_C_GIT_REF }}
4444

4545
- name: Cache xerces-c install
46-
uses: actions/cache@v2
46+
uses: actions/cache@v3
4747
id: xerces-cache
4848
with:
4949
path: ${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}
5050
key: ${{ env.XERCES_C_GIT_REF }}
5151

52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5353
if: steps.g4cache.outputs.cache-hit != 'true'
5454
with:
5555
repository: Geant4/geant4
5656
ref: ${{ env.GEANT4_GIT_TAG }}
5757
path: ${{ env.GEANT4_SOURCE_DIR }}
5858

59-
- uses: actions/checkout@v2
59+
- uses: actions/checkout@v3
6060
if: steps.xerces-cache.outputs.cache-hit != 'true'
6161
with:
6262
repository: apache/xerces-c
@@ -155,12 +155,12 @@ jobs:
155155
echo "HOME=${{ github.workspace }}" >> $GITHUB_ENV
156156
echo "CMAKE_ARGS=-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded" >> $GITHUB_ENV
157157
158-
- uses: actions/checkout@v2
158+
- uses: actions/checkout@v3
159159
with:
160160
submodules: true
161161
path: ${{ github.event.repository.name }}
162162

163-
- uses: actions/setup-python@v2
163+
- uses: actions/setup-python@v3
164164
with:
165165
python-version: ${{ matrix.python-version }}
166166

@@ -171,7 +171,7 @@ jobs:
171171
run: python -m pip install "${{ github.workspace }}/${{ github.event.repository.name }}"
172172

173173
- name: Cache Geant4 datasets
174-
uses: actions/cache@v2
174+
uses: actions/cache@v3
175175
with:
176176
key: ${{ env.GEANT4_GIT_TAG }}-datasets
177177
path: ${{ github.workspace }}/.geant4_pybind

.github/workflows/wheels.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ jobs:
2424
name: Build SDist
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
with:
2929
submodules: true
3030

3131
- name: Build SDist
3232
run: python setup.py sdist
3333

34-
- uses: actions/upload-artifact@v2
34+
- uses: actions/upload-artifact@v3
3535
with:
3636
path: dist/*.tar.gz
3737

@@ -45,32 +45,32 @@ jobs:
4545
os: [windows-latest, macos-latest]
4646

4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v3
4949
with:
5050
submodules: true
5151

5252
- name: Cache Geant4 install
53-
uses: actions/cache@v2
53+
uses: actions/cache@v3
5454
id: g4cache
5555
with:
5656
path: ${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}
5757
key: ${{ env.GEANT4_GIT_TAG }}-${{ env.XERCES_C_GIT_REF }}
5858

5959
- name: Cache xerces-c install
60-
uses: actions/cache@v2
60+
uses: actions/cache@v3
6161
id: xerces-cache
6262
with:
6363
path: ${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}
6464
key: ${{ env.XERCES_C_GIT_REF }}
6565

66-
- uses: actions/checkout@v2
66+
- uses: actions/checkout@v3
6767
if: steps.g4cache.outputs.cache-hit != 'true'
6868
with:
6969
repository: Geant4/geant4
7070
ref: ${{ env.GEANT4_GIT_TAG }}
7171
path: ${{ env.GEANT4_SOURCE_DIR }}
7272

73-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v3
7474
if: steps.xerces-cache.outputs.cache-hit != 'true'
7575
with:
7676
repository: apache/xerces-c
@@ -185,12 +185,12 @@ jobs:
185185
echo -e "\n\n" >> EXTRA_LICENSES
186186
curl "https://raw.githubusercontent.com/apache/xerces-c/${{ env.XERCES_C_GIT_REF }}/LICENSE" >> EXTRA_LICENSES
187187
188-
- uses: pypa/cibuildwheel@v2.4.0
188+
- uses: pypa/cibuildwheel@v2.5.0
189189
env:
190190
CIBW_ARCHS: native
191191
CIBW_BEFORE_BUILD: rm -rf {project}/build
192192

193-
- uses: actions/upload-artifact@v2
193+
- uses: actions/upload-artifact@v3
194194
with:
195195
path: wheelhouse/*.whl
196196

@@ -200,7 +200,7 @@ jobs:
200200
runs-on: ubuntu-latest
201201

202202
steps:
203-
- uses: actions/checkout@v2
203+
- uses: actions/checkout@v3
204204
with:
205205
submodules: true
206206

@@ -221,7 +221,7 @@ jobs:
221221
echo -e "\n\n" >> EXTRA_LICENSES
222222
curl "https://raw.githubusercontent.com/apache/xerces-c/${{ env.XERCES_C_GIT_REF }}/LICENSE" >> EXTRA_LICENSES
223223
224-
- uses: pypa/cibuildwheel@v2.4.0
224+
- uses: pypa/cibuildwheel@v2.5.0
225225
env:
226226
CIBW_ENVIRONMENT_LINUX: CXXFLAGS='-fPIC' CFLAGS='-fPIC'
227227
CIBW_BEFORE_ALL_LINUX: >
@@ -264,7 +264,7 @@ jobs:
264264
CIBW_ARCHS: native
265265
CIBW_BEFORE_BUILD: rm -rf {project}/build
266266

267-
- uses: actions/upload-artifact@v2
267+
- uses: actions/upload-artifact@v3
268268
with:
269269
path: wheelhouse/*.whl
270270

@@ -276,9 +276,9 @@ jobs:
276276
if: github.event_name == 'release' && github.event.action == 'published'
277277

278278
steps:
279-
- uses: actions/setup-python@v2
279+
- uses: actions/setup-python@v3
280280

281-
- uses: actions/download-artifact@v2
281+
- uses: actions/download-artifact@v3
282282
with:
283283
name: artifact
284284
path: dist

0 commit comments

Comments
 (0)