Skip to content

Commit

Permalink
Merge pull request #27 from GLVis/fix-ci-versions
Browse files Browse the repository at this point in the history
More small fixes for CI
  • Loading branch information
justinlaughlin authored Aug 27, 2024
2 parents ddc5750 + 55fe85e commit cd75c92
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ jobs:
mfem-ref: ${{ github.event_name == 'pull_request' && 'master' || inputs.mfem-ref }}
glvis-ref: ${{ github.event_name == 'pull_request' && 'master' || inputs.glvis-ref }}
emscripten-version: ${{ github.event_name == 'pull_request' && '3.1.51' || inputs.emscripten-version }}
make-branch: ${{ github.event_name == 'workflow_dispatch' && inputs.make-branch }}

name: >-
build glvis-js |
Expand All @@ -63,6 +62,8 @@ jobs:
- name: Checkout glvis-js
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
submodules: recursive
path: glvis-js
lfs: true
Expand All @@ -84,13 +85,17 @@ jobs:
- name: Checkout mfem
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
repository: mfem/mfem
ref: ${{ env.mfem-ref }}
path: mfem

- name: Checkout glvis
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
repository: glvis/glvis
ref: ${{ env.glvis-ref }}
path: glvis
Expand All @@ -99,7 +104,6 @@ jobs:
run: |
cd glvis-js
make install -j 4
make versions
# ---------------------------------------------------------------------------------
# Generate an artifact
Expand All @@ -117,7 +121,7 @@ jobs:
retention-days: 1

- name: Push changes to a new branch
if: env.make-branch
if: ${{ github.event_name == 'workflow_dispatch' && inputs.make-branch }}
run: |
cd glvis-js
git config user.name "github-actions[bot]"
Expand Down

0 comments on commit cd75c92

Please sign in to comment.