Skip to content

Commit

Permalink
Merge pull request #273 from GLVis/bump-actions-versions
Browse files Browse the repository at this point in the history
Update actions versions in GH workflows
  • Loading branch information
tzanio committed Feb 25, 2024
2 parents 84c4ebb + 71a8d1a commit de385ca
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/builds.yml
Expand Up @@ -83,14 +83,14 @@ jobs:
- name: cache hypre
if: matrix.mpi == 'par'
id: hypre-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.HYPRE_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.2

- name: build hypre
if: steps.hypre-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-hypre@v2.2
uses: mfem/github-actions/build-hypre@v2.4
with:
archive: ${{ env.HYPRE_ARCHIVE }}
dir: ${{ env.HYPRE_TOP_DIR }}
Expand All @@ -101,14 +101,14 @@ jobs:
- name: cache metis
if: matrix.mpi == 'par'
id: metis-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.METIS_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2

- name: build metis
if: steps.metis-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-metis@v2.2
uses: mfem/github-actions/build-metis@v2.4
with:
archive: ${{ env.METIS_ARCHIVE }}
dir: ${{ env.METIS_TOP_DIR }}
Expand All @@ -131,7 +131,7 @@ jobs:
# Install will only run on cache miss.
- name: cache mfem
id: cache-mfem
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.MFEM_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.target }}-${{ matrix.build-system}}-v2.4
Expand Down Expand Up @@ -165,9 +165,9 @@ jobs:
sudo apt-get update
sudo apt-get install libfontconfig1-dev libfreetype6-dev libsdl2-dev libglew-dev libglm-dev libpng-dev
- name: Set up Homebrew
if: matrix.os == 'macos-latest'
uses: Homebrew/actions/setup-homebrew@master
# - name: Set up Homebrew
# if: matrix.os == 'macos-latest'
# uses: Homebrew/actions/setup-homebrew@master

- name: get deps (MacOS)
if: matrix.os == 'macos-latest'
Expand All @@ -177,7 +177,7 @@ jobs:
- name: cache deps (Windows)
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vcpkg_cache
key: ${{ runner.os }}-vcpkg-v1
Expand All @@ -188,7 +188,7 @@ jobs:
mkdir -p vcpkg_cache
- name: checkout GLVis
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: glvis
submodules: recursive
Expand Down Expand Up @@ -222,7 +222,7 @@ jobs:

- name: setup Python
if: matrix.build-system == 'cmake'
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
- name: upload test screenshots
if: always() && matrix.build-system == 'cmake' && matrix.os != 'windows-latest'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: test-screenshots-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.mpi }}
path: glvis/build/test_screenshots.tar.gz
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Expand Up @@ -67,14 +67,14 @@ jobs:
- name: cache hypre
if: matrix.mpi == 'par'
id: hypre-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.HYPRE_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.HYPRE_TOP_DIR }}-v2.2

- name: build hypre
if: steps.hypre-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-hypre@v2.2
uses: mfem/github-actions/build-hypre@v2.4
with:
archive: ${{ env.HYPRE_ARCHIVE }}
dir: ${{ env.HYPRE_TOP_DIR }}
Expand All @@ -85,14 +85,14 @@ jobs:
- name: cache metis
if: matrix.mpi == 'par'
id: metis-cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.METIS_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.METIS_TOP_DIR }}-v2.2

- name: build metis
if: steps.metis-cache.outputs.cache-hit != 'true' && matrix.mpi == 'par'
uses: mfem/github-actions/build-metis@v2.2
uses: mfem/github-actions/build-metis@v2.4
with:
archive: ${{ env.METIS_ARCHIVE }}
dir: ${{ env.METIS_TOP_DIR }}
Expand All @@ -115,7 +115,7 @@ jobs:
# Install will only run on cache miss.
- name: cache mfem
id: cache-mfem
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ env.MFEM_TOP_DIR }}
key: ${{ runner.os }}-build-${{ env.MFEM_TOP_DIR }}-${{ env.MFEM_COMMIT }}-${{ matrix.target }}-${{ matrix.build-system}}-v2.2
Expand All @@ -127,7 +127,7 @@ jobs:
# superfluous.
- name: build mfem
if: steps.cache-mfem.outputs.cache-hit != 'true'
uses: mfem/github-actions/build-mfem@v2.2
uses: mfem/github-actions/build-mfem@v2.4
with:
os: ${{ matrix.os }}
target: ${{ matrix.target }}
Expand All @@ -148,9 +148,9 @@ jobs:
sudo apt-get update
sudo apt-get install libfontconfig1-dev libfreetype6-dev libsdl2-dev libglew-dev libglm-dev libpng-dev
- name: Set up Homebrew
if: matrix.os == 'macos-latest'
uses: Homebrew/actions/setup-homebrew@master
# - name: Set up Homebrew
# if: matrix.os == 'macos-latest'
# uses: Homebrew/actions/setup-homebrew@master

- name: get deps (MacOS)
if: matrix.os == 'macos-latest'
Expand All @@ -160,7 +160,7 @@ jobs:
- name: cache deps (Windows)
id: cache-deps
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vcpkg_cache
key: ${{ runner.os }}-vcpkg-v1
Expand All @@ -171,7 +171,7 @@ jobs:
mkdir -p vcpkg_cache
- name: checkout GLVis
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: glvis
submodules: recursive
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
cp GLVis.dmg ${GLVIS_EXPORT_NAME}
- name: upload binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: glvis-${{ github.ref_name }}-${{ runner.os }}-amd64
path: glvis/build/glvis-${{ github.ref_name }}-${{ runner.os }}-amd64
2 changes: 1 addition & 1 deletion tests/data

0 comments on commit de385ca

Please sign in to comment.