NASA Challenge_[@gmacario]_[Add Dev Container configuration] (closes #57) #77
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run the build.sh scripts | |
run: | | |
# find the build.sh scripts and execute them | |
echo "Running all build.sh scripts in repo" | |
path=$(pwd) | |
for f in $(find . -iname 'build.sh') | |
do | |
(cd $(dirname $f) && ./build.sh && cd $path) || (echo $f "Failed" && exit 1) | |
done | |
echo "Done running build.sh scripts" |