From e2b9b2ce598099bd42a74c78dbf567d656fd7b56 Mon Sep 17 00:00:00 2001 From: "clara.bayley" Date: Wed, 30 Oct 2024 15:20:54 +0100 Subject: [PATCH] fix: fix workflow --- .github/workflows/build.yml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06fb8d7f..e80b6cdc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,12 @@ jobs: make -j 4 make install + - name: Upload YAXT + uses: actions/upload-artifact@v3 + with: + name: yaxt + path: $HOME/yaxt + - name: Build YAC run: | curl -s -L https://gitlab.dkrz.de/dkrz-sw/yac/-/archive/v3.2.0/yac-v3.2.0.tar.gz | tar xvz @@ -34,14 +40,38 @@ jobs: --prefix=$HOME/yac make -j 4 make install + + - name: Upload YAC + uses: actions/upload-artifact@v3 + with: + name: yac + path: $HOME/yac + - name: pwd - run: pwd && ls .. && ls . + run: pwd && ls ${HOME} && ls .. && ls . + build: needs: setup runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Download YAXT + uses: actions/download-artifact@v3 + with: + name: yaxt + path: $HOME/yaxt + + - name: Download YAC + uses: actions/download-artifact@v3 + with: + name: yac + path: $HOME/yac + - name: pwd - run: pwd && ls .. && ls . + run: pwd && ls ${HOME} && ls .. && ls . + - name: Build main run: | mkdir build && cd build