Skip to content

Commit

Permalink
fix: fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yoctoyotta1024 committed Oct 30, 2024
1 parent 132aec9 commit e2b9b2c
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e2b9b2c

Please sign in to comment.