Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created June 14, 2019 03:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovnicraft/8678248ca83a2f66fde8943533fccda3 to your computer and use it in GitHub Desktop.
Save ovnicraft/8678248ca83a2f66fde8943533fccda3 to your computer and use it in GitHub Desktop.
- run:
name: Set modules list to test
command: |
echo \'export MODULES=$(git show --name-only --format= | cut -d/ -f1 | sort | uniq | xargs | sed 's/ /,/g')\' >> $BASH_ENV
source $BASH_ENV
#!/bin/bash -eo pipefail
echo \'export MODULES=$(git show --name-only --format= | cut -d/ -f1 | sort | uniq | xargs | sed 's/ /,/g')\' >> $BASH_ENV
source $BASH_ENV
/tmp/.bash_env-5d0315eeeac8660008d14fa0-0-build: line 1: export MODULES=.circleci: command not found
Exited with code 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment