working docker build from project Dockerfile #21
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: Check for LICENSE File in femr Directory | |
on: | |
push: | |
jobs: | |
check-license-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Check if file exists | |
run: | | |
if [ ! -f "./LICENSE" ]; then | |
echo "File does not exist. Exiting with failure." | |
exit 1 | |
fi |