Skip to content

Commit 44d8c90

Browse files
committed
fix in symlink command
1 parent 20d263e commit 44d8c90

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

.github/workflows/bot_build.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- name: Checkout repo
13-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
14-
15-
- name: Git clone software-layer
16-
run: git clone https://github.com/EESSI/software-layer.git
12+
- name: Git clone software-layer and software-layer-scripts inside it
13+
run: |
14+
git clone https://github.com/EESSI/software-layer.git
15+
cd software-layer
16+
git clone https://github.com/EESSI/software-layer-scripts.git
1717
1818
- name: Run symlink commands
1919
run: |
2020
set -e
21+
cd software-layer
2122
22-
for file in $(ls software-layer | egrep -v 'easystacks|LICENSE|README.md|^bot'); do
23-
ln -s software-layer/${file}
23+
for file in $(ls software-layer-scripts | egrep -v 'easystacks|LICENSE|README.md|^bot'); do
24+
ln -s software-layer-scripts/${file}
2425
done
2526
26-
for file in $(ls software-layer/bot | grep -v '^build.sh'); do
27-
ln -s ../software-layer/bot/${file} bot/${file}
27+
for file in $(ls software-layer-scripts/bot | grep -v '^build.sh'); do
28+
ln -s ../software-layer-scripts/bot/${file} bot/${file}
2829
done

0 commit comments

Comments
 (0)