Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/bot_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Bot symlink

on:
pull_request:
branches: [ "main" ]

jobs:
build_script:
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Git clone software-layer-scripts
run: git clone https://github.com/EESSI/software-layer-scripts

- name: Run symlink commands
run: |
set -e

for file in $(ls software-layer-scripts | egrep -v 'easystacks|LICENSE|README.md|^bot'); do
ln -s software-layer-scripts/${file}
done

for file in $(ls software-layer-scripts/bot | grep -v '^build.sh'); do
ln -s ../software-layer-scripts/bot/${file} bot/${file}
done
Loading