diff --git a/.github/workflows/Spack.yml b/.github/workflows/Spack.yml index ebf41bf5..66bf93dd 100644 --- a/.github/workflows/Spack.yml +++ b/.github/workflows/Spack.yml @@ -49,6 +49,14 @@ jobs: # Run 'spack load' to check for obvious errors in setup_run_environment spack load g2 + - name: Upload test results + uses: actions/upload-artifact@v3 + if: ${{ failure() }} + with: + name: test-output + path: /home/runner/work/NCEPLIBS-g2/NCEPLIBS-g2/g2/spack-build-*/Testing/Temporary/LastTest.log + + # This job validates the Spack recipe by making sure each cmake build option is represented recipe-check: runs-on: ubuntu-latest