Skip to content

Commit

Permalink
Bump GH actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
HaarigerHarald committed Feb 15, 2024
1 parent 5f9ab65 commit bc87be4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ jobs:

steps:
- name: Cache Geant4 install
uses: actions/cache@v3
uses: actions/cache@v4
id: g4cache
with:
path: ${{ github.workspace }}/${{ env.GEANT4_INSTALL_DIR }}
key: ${{ env.GEANT4_GIT_TAG }}-${{ env.XERCES_C_GIT_REF }}

- name: Cache xerces-c install
uses: actions/cache@v3
uses: actions/cache@v4
id: xerces-cache
with:
path: ${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
submodules: true
path: ${{ github.event.repository.name }}

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -158,7 +158,7 @@ jobs:
run: python -m pip install "${{ github.workspace }}/${{ github.event.repository.name }}"

- name: Cache Geant4 datasets
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ env.GEANT4_GIT_TAG }}-datasets
path: ${{ github.workspace }}/.geant4_pybind
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build SDist
run: python setup.py sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -56,15 +56,15 @@ jobs:
submodules: true

- name: Cache xerces-c install
uses: actions/cache@v3
uses: actions/cache@v4
if: runner.os == 'Windows'
id: xerces-cache
with:
path: ${{ github.workspace }}/${{ env.XERCES_C_INSTALL_DIR }}
key: ${{ env.XERCES_C_GIT_REF }}

- name: Cache Geant4 install
uses: actions/cache@v3
uses: actions/cache@v4
if: runner.os == 'Windows'
id: g4cache
with:
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
- name: Cache Geant4 datasets
if: runner.os != 'Linux'
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ env.GEANT4_GIT_TAG }}-datasets
path: ${{ github.workspace }}/.geant4_pybind
Expand Down Expand Up @@ -278,7 +278,7 @@ jobs:
CIBW_TEST_COMMAND_MACOS: HOME={package} python {package}/tests/test_B1.py
CIBW_TEST_COMMAND_WINDOWS: python {package}/tests/test_B1.py

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: wheelhouse/*.whl

Expand All @@ -289,9 +289,9 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'

steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit bc87be4

Please sign in to comment.