Skip to content

Commit

Permalink
fix(CI): re-order checkout's for correct use of ngen submodule build …
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
hellkite500 authored and PhilMiller committed Jun 11, 2024
1 parent bd1e7b2 commit 2b9ec7b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/ngen_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,6 @@ jobs:
mkdir ${{runner.temp}}/smp
mv ./* ${{runner.temp}}/smp
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout actions in another repo
uses: actions/checkout@v4
with:
repository: noaa-owp/ngen

- name: Build CFE
uses: actions/checkout@v4
with:
Expand All @@ -60,7 +54,15 @@ jobs:
run: |
cmake -B cmake_build -S . -DNGEN=ON
make -C cmake_build
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
# Checkout ngen after cfe checkout so $GITHUB_WORKSPACE doesn't get clobbered
# otherwise the submod action isn't available
- name: checkout actions in another repo
uses: actions/checkout@v4
with:
repository: noaa-owp/ngen

- name: Build Topmodel
id: submod_build_2
uses: ./.github/actions/ngen-submod-build
Expand Down

0 comments on commit 2b9ec7b

Please sign in to comment.